/** * Fetches all announce entities filtered by pagination * * @param integer $page Current page number * @param integer $itemsPerPage Per page count * @return array */ public function fetchAllByPage($page, $itemsPerPage) { return $this->prepareResults($this->announceMapper->fetchAllByPage($page, $itemsPerPage)); }