PHP Interface WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface
Mostrar archivo
Open project: wellcommerce/wellcommerce
Interface Usage Examples
Public Methods
Method |
Description |
|
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 ) |
|
|
Method Details
public addChild ( WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface $child ) |
$child |
WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface |
|
addProduct()
public method
public addProduct ( WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product ) |
$product |
WellCommerce\Bundle\ProductBundle\Entity\ProductInterface |
|
getChildren()
public method
public getChildren ( ) : Doctrine\Common\Collections\Collection |
return |
Doctrine\Common\Collections\Collection |
|
getParent()
public method
public getParent ( ) : null | WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface |
return |
null | WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface |
|
getProducts()
public method
public getProducts ( ) : Doctrine\Common\Collections\Collection |
return |
Doctrine\Common\Collections\Collection |
|
setChildren()
public method
public setChildren ( Doctrine\Common\Collections\Collection $children ) |
$children |
Doctrine\Common\Collections\Collection |
|
setParent()
public method
public setParent ( WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface $parent = null ) |
$parent |
WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface |
|
setProducts()
public method
public setProducts ( Doctrine\Common\Collections\Collection $products ) |
$products |
Doctrine\Common\Collections\Collection |
|