/** * Returns the category path * @Groups({"default"}) * * @return string */ public function getCategoryPath() { if ($this->category !== null) { return $this->category->getCategoryPath(); } else { return ""; } }
/** * Returns the category path * @Groups({"default"}) * * @return string */ public function getCategoryPath() { if ($this->category !== null) { return $this->category->getCategoryPath(); } else { return ""; } }