/** * Get a Category by it's URL * @param string $url The URL of the category * @return Category */ protected function getCategoryByUrl($url) { return $this->categories->getByUrl($url); }