/** * Returns an array of categories with count of posts * * @return array */ public function getAllCategoriesWithCount() { return $this->prepareResults($this->categoryMapper->fetchAllBasic()); }
/** * Returns an array of categories with count of posts * * @return array */ public function getAllCategoriesWithCount() { return $this->prepareResults($this->categoryMapper->fetchAllBasic()); }