src/Traits/Validatable.php
public function validate()
    {
        $this->validator = Validator::make($this->getAttributes(), $this->getRules());

        return ! $this->validator->fails();
    }
public function validate()
    {
        $this->validator = Validator::make($this->getAttributes(), $this->getRules());

        return ! $this->validator->fails();
    }
public function validate ( ) { $ this -> validator = Validator :: make ( $ this -> getAttributes ( ) , $ this -> getRules ( ) ) ; return ! $ this -> validator -> fails ( ) ; }
Validates the filter data

@return boolean
Validates the filter data