src/Requests/UpdateProfileRequest.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()
    {
        $this->rules['email'] .= ',email,' . user('id');
        return $this->rules;
    }
public function rules ( ) { $ this -> rules [ 'email' ] .= ',email,' . user ( 'id' ) ; return $ this -> rules ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .