src/ORM/Search/SearchContext.php
public function setSearchParams($searchParams)
    {
        // hack to work with $searchParams when it's an Object
        if ($searchParams instanceof HTTPRequest) {
            $this->searchParams = $searchParams->getVars();
        } else {
            $this->searchParams = $searchParams;
        }
        return $this;
    }
public function setSearchParams($searchParams)
    {
        // hack to work with $searchParams when it's an Object
        if ($searchParams instanceof HTTPRequest) {
            $this->searchParams = $searchParams->getVars();
        } else {
            $this->searchParams = $searchParams;
        }
        return $this;
    }
public function setSearchParams ( $ searchParams ) { // hack to work with $searchParams when it's an Object if ( $ searchParams instanceof HTTPRequest ) { $ this -> searchParams = $ searchParams -> getVars ( ) ; } else { $ this -> searchParams = $ searchParams ; } return $ this ; }
Set search param values

@param array|HTTPRequest $searchParams
@return $this
Set search param values