src/Utility/Search.php
public function create(array $searchData): string
    {
        $searchData = Validator::validateData($this->table, $searchData, $this->user);

        // pre-save search
        return $this->preSave($searchData);
    }
public function create(array $searchData): string
    {
        $searchData = Validator::validateData($this->table, $searchData, $this->user);

        // pre-save search
        return $this->preSave($searchData);
    }
public function create ( array $ searchData ) : string { $ searchData = Validator :: validateData ( $ this -> table , $ searchData , $ this -> user ) ; // pre-save search return $ this -> preSave ( $ searchData ) ; }
Create search.

@param mixed[] $searchData Request data
@return string
Create search .