partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit adf38602c2148dd54b04bfbec16f9947fc66a38c
parent 9f7bcee50e45a01144fe28ed5616213c0e1e6192
Author: Felicitus <felicitus@felicitus.org>
Date:   Mon, 20 Jul 2015 00:34:05 +0200

The category path is now retrieved via the category

Diffstat:
Msrc/PartKeepr/FootprintBundle/Entity/Footprint.php | 30------------------------------
1 file changed, 0 insertions(+), 30 deletions(-)

diff --git a/src/PartKeepr/FootprintBundle/Entity/Footprint.php b/src/PartKeepr/FootprintBundle/Entity/Footprint.php @@ -68,36 +68,6 @@ class Footprint extends BaseEntity private $attachments; /** - * @Groups({"default"}) - * @var - */ - private $categoryPath; - - /** - * Sets the category path for the entity - * - * @param string $categoryPath The category path to set - */ - public function setCategoryPath($categoryPath) - { - $this->categoryPath = $categoryPath; - } - - /** - * Returns the category path for the entity - * - * @return string The Category Path - */ - public function getCategoryPath() - { - if ($this->getCategory() !== null) { - return $this->getCategory()->generateCategoryPath(); - } - - return ""; - } - - /** * Constructs a new Footprint entity */ public function __construct()