Свойство | Тип | Описание | |
---|---|---|---|
$children | Doctrine\Common\Collections\Collection | ||
$parent | null | WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface | ||
$products | Doctrine\Common\Collections\Collection |
Метод | Описание | |
---|---|---|
addChild ( WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface $child ) | ||
addProduct ( WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product ) | ||
getChildren ( ) | ||
getParent ( ) | ||
getProducts ( ) | ||
setChildren ( Doctrine\Common\Collections\Collection $children ) | ||
setParent ( WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface $parent = null ) | ||
setProducts ( Doctrine\Common\Collections\Collection $products ) |
public addChild ( WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface $child ) | ||
$child | WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface |
public addProduct ( WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product ) | ||
$product | WellCommerce\Bundle\ProductBundle\Entity\ProductInterface |
public setChildren ( Doctrine\Common\Collections\Collection $children ) | ||
$children | Doctrine\Common\Collections\Collection |
public setParent ( WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface $parent = null ) | ||
$parent | WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface |
public setProducts ( Doctrine\Common\Collections\Collection $products ) | ||
$products | Doctrine\Common\Collections\Collection |
protected Collection,Doctrine\Common\Collections $children | ||
Результат | Doctrine\Common\Collections\Collection |
protected null|CategoryInterface,WellCommerce\Bundle\CategoryBundle\Entity $parent | ||
Результат | null | WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface |