src/Dlin/Zendesk/Client/TicketClient.php
public function search(TicketFilter $query, $page=1, $per_page=100, $sort_by=null, $sort_order='asc'){

        $endPoint = 'search.json?query='.rawurlencode(implode(' ',$query->toArray()));

        return $this->getCollection($endPoint, 'results', $page, $per_page, $sort_by, $sort_order);
    }
public function search(TicketFilter $query, $page=1, $per_page=100, $sort_by=null, $sort_order='asc'){

        $endPoint = 'search.json?query='.rawurlencode(implode(' ',$query->toArray()));

        return $this->getCollection($endPoint, 'results', $page, $per_page, $sort_by, $sort_order);
    }
Search tickets

@param TicketFilter $query
@param int $page
@param int $per_page
@param null $sort_by
@param string $sort_order
@return \Dlin\Zendesk\Result\PaginatedResult