/** * Fetches all published announce entities associated with provided category id * * @param string $categoryId * @return array */ public function fetchAllPublishedByCategoryId($categoryId) { return $this->prepareResults($this->announceMapper->fetchAllPublishedByCategoryId($categoryId)); }