/** * Removes web page associated with provided category id * * @param string $id Category's id * @return boolean */ private function removeWebPageByCategoryId($id) { $webPageId = $this->categoryMapper->fetchWebPageIdById($id); return $this->webPageManager->deleteById($webPageId); }