public function addChildren(Category $children) { $this->childrens[] = $children; $children->setParent($this); return $this; }
/** * {@inheritDoc} */ public function getProducts() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getProducts', []); return parent::getProducts(); }