src/Searchable.php
public function getSearchRules()
    {
        return isset($this->searchRules) && count($this->searchRules) > 0 ?
            $this->searchRules : [SearchRule::class];
    }
public function getSearchRules()
    {
        return isset($this->searchRules) && count($this->searchRules) > 0 ?
            $this->searchRules : [SearchRule::class];
    }
public function getSearchRules ( ) { return isset ( $ this -> searchRules ) && count ( $ this -> searchRules ) > 0 ? $ this -> searchRules : [ SearchRule :: class ] ; }
Get the search rules.

@return array
Get the search rules .