src/Plugin.php
protected function bootstrapValidationRules(Application $app)
    {
        $this->attachListenerOn($app, 'validate', function (Fluent $rules) {
            foreach ($this->rules as $name => $validation) {
                $rules[$name] = $validation;
            }
        });
    }
protected function bootstrapValidationRules(Application $app)
    {
        $this->attachListenerOn($app, 'validate', function (Fluent $rules) {
            foreach ($this->rules as $name => $validation) {
                $rules[$name] = $validation;
            }
        });
    }
Bootstrap validation rules.

@param  \Illuminate\Contracts\Foundation\Application  $app

@return void