src/Stevemo/Cpanel/Services/Validation/AbstractValidator.php
public function passes()
    {
        $validator = $this->validator->make($this->data, $this->rules, $this->messages);

        if( $validator->fails() )
        {
            $this->errors = $validator->messages();
            return false;
        }

        return true;
    }
public function passes()
    {
        $validator = $this->validator->make($this->data, $this->rules, $this->messages);

        if( $validator->fails() )
        {
            $this->errors = $validator->messages();
            return false;
        }

        return true;
    }
public function passes ( ) { $ validator = $ this -> validator -> make ( $ this -> data , $ this -> rules , $ this -> messages ) ; if ( $ validator -> fails ( ) ) { $ this -> errors = $ validator -> messages ( ) ; return false ; } return true ; }
Test if validation passes

@author Steve Montambeault
@link   http://stevemo.ca

@return bool
Test if validation passes