app/Http/Requests/UserUpdateRequest.php
/**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
Get the validation rules that apply to the request.
@return array
Get the validation rules that apply to the request . @return array
public function rules()
    {
        return [
            'email' => 'required|email:rfc',
            'name' => 'required|string',
            'password' => 'nullable|string|max:64|min:12'
        ];
    }
public function rules ( ) { return [ 'email' => 'required|email:rfc' , 'name' => 'required|string' , 'password' => 'nullable|string|max:64|min:12' ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .