PHP Интерфейс WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface
Показать файл
Открыть проект
Примеры использования интерфейса
Открытые методы
Метод |
Описание |
|
addChild ( WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface $child ) |
|
|
addProduct ( WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product ) |
|
|
getChildren ( ) : Doctrine\Common\Collections\Collection |
|
|
getParent ( ) : null | WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface |
|
|
getProducts ( ) : Doctrine\Common\Collections\Collection |
|
|
setChildren ( Doctrine\Common\Collections\Collection $children ) |
|
|
setParent ( WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface $parent = null ) |
|
|
setProducts ( Doctrine\Common\Collections\Collection $products ) |
|
|
Описание методов
addChild()
публичный Метод
public addChild ( WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface $child ) |
$child |
WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface |
|
addProduct()
публичный Метод
public addProduct ( WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product ) |
$product |
WellCommerce\Bundle\ProductBundle\Entity\ProductInterface |
|
getChildren()
публичный Метод
public getChildren ( ) : Doctrine\Common\Collections\Collection |
Результат |
Doctrine\Common\Collections\Collection |
|
getParent()
публичный Метод
public getParent ( ) : null | WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface |
Результат |
null | WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface |
|
getProducts()
публичный Метод
public getProducts ( ) : Doctrine\Common\Collections\Collection |
Результат |
Doctrine\Common\Collections\Collection |
|
setChildren()
публичный Метод
public setChildren ( Doctrine\Common\Collections\Collection $children ) |
$children |
Doctrine\Common\Collections\Collection |
|
setParent()
публичный Метод
public setParent ( WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface $parent = null ) |
$parent |
WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface |
|
setProducts()
публичный Метод
public setProducts ( Doctrine\Common\Collections\Collection $products ) |
$products |
Doctrine\Common\Collections\Collection |
|