protected function passesValidation(User $user, Model $model = null)
    {
        return (new Validator(
            $this->rules($user, $model)
        ))->passes();
    }
protected function passesValidation(User $user, Model $model = null)
    {
        return (new Validator(
            $this->rules($user, $model)
        ))->passes();
    }
protected function passesValidation ( User $ user , Model $ model = null ) { return ( new Validator ( $ this -> rules ( $ user , $ model ) ) ) -> passes ( ) ; }
Determines if the model passes validation.

@param User  $user
@param Model $model

@return bool
Determines if the model passes validation .