PHP Interface WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface
Afficher le fichier
Open project: wellcommerce/wellcommerce
Interface Usage Examples
Méthodes publiques
Méthode |
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
addChild()
public méthode
public addChild ( WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface $child ) |
$child |
WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface |
|
addProduct()
public méthode
public addProduct ( WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product ) |
$product |
WellCommerce\Bundle\ProductBundle\Entity\ProductInterface |
|
getChildren()
public méthode
public getChildren ( ) : Doctrine\Common\Collections\Collection |
Résultat |
Doctrine\Common\Collections\Collection |
|
getParent()
public méthode
public getParent ( ) : null | WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface |
Résultat |
null | WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface |
|
getProducts()
public méthode
public getProducts ( ) : Doctrine\Common\Collections\Collection |
Résultat |
Doctrine\Common\Collections\Collection |
|
setChildren()
public méthode
public setChildren ( Doctrine\Common\Collections\Collection $children ) |
$children |
Doctrine\Common\Collections\Collection |
|
setParent()
public méthode
public setParent ( WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface $parent = null ) |
$parent |
WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface |
|
setProducts()
public méthode
public setProducts ( Doctrine\Common\Collections\Collection $products ) |
$products |
Doctrine\Common\Collections\Collection |
|