private function validate()
    {
        // Try to resolve subrules if there are any
        // as a final step before running the validator.
        $this->resolveSubrules();

        // Apply input filters.
        $filters = new Filters($this->inputs, $this->filters, $this);
        $this->inputs = $filters->apply();

        // Apply custom rules.
        $this->customRules();

        $this->validator = $this->validator->make($this->inputs, $this->rules, $this->messages);

        // Apply attributes.
        $this->validator->setAttributeNames($this->attributes);

        // Run the 'after' method, letting the
        // user execute code after validation.
        if (method_exists($this, 'after')) {
            $this->after($this->validator);
        }
    }
private function validate()
    {
        // Try to resolve subrules if there are any
        // as a final step before running the validator.
        $this->resolveSubrules();

        // Apply input filters.
        $filters = new Filters($this->inputs, $this->filters, $this);
        $this->inputs = $filters->apply();

        // Apply custom rules.
        $this->customRules();

        $this->validator = $this->validator->make($this->inputs, $this->rules, $this->messages);

        // Apply attributes.
        $this->validator->setAttributeNames($this->attributes);

        // Run the 'after' method, letting the
        // user execute code after validation.
        if (method_exists($this, 'after')) {
            $this->after($this->validator);
        }
    }
private function validate ( ) { // Try to resolve subrules if there are any // as a final step before running the validator. $ this -> resolveSubrules ( ) ; // Apply input filters. $ filters = new Filters ( $ this -> inputs , $ this -> filters , $ this ) ; $ this -> inputs = $ filters -> apply ( ) ; // Apply custom rules. $ this -> customRules ( ) ; $ this -> validator = $ this -> validator -> make ( $ this -> inputs , $ this -> rules , $ this -> messages ) ; // Apply attributes. $ this -> validator -> setAttributeNames ( $ this -> attributes ) ; // Run the 'after' method, letting the // user execute code after validation. if ( method_exists ( $ this , 'after' ) ) { $ this -> after ( $ this -> validator ) ; } }
Run the validation using Laravel's Validator.

@return void
Run the validation using Laravel s Validator .