/** * Count amount of posts in provided category id * * @param string $categoryId * @return integer */ public function getPostCountByCategoryId($categoryId) { return $this->postMapper->countAllByCategoryId($categoryId); }
/** * Count amount of posts in provided category id * * @param string $categoryId * @return integer */ public function getPostCountByCategoryId($categoryId) { return $this->postMapper->countAllByCategoryId($categoryId); }