PHP Interface WellCommerce\Bundle\CategoryBundle\Entity\CategoryInterface

Author: Adam Piotrowski ([email protected])
Inheritance: extends WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface, extends WellCommerce\Bundle\DoctrineBundle\Behaviours\Enableable\EnableableInterface, extends WellCommerce\Bundle\CoreBundle\Entity\TranslatableInterface, extends WellCommerce\Bundle\CoreBundle\Entity\TimestampableInterface, extends WellCommerce\Bundle\CoreBundle\Entity\BlameableInterface, extends WellCommerce\Bundle\ShopBundle\Entity\ShopCollectionAwareInterface, extends WellCommerce\Bundle\AppBundle\Entity\HierarchyAwareInterface
Datei anzeigen 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

addChild() public method

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