PHP Class WellCommerce\Bundle\AttributeBundle\Entity\AttributeGroup

Author: Adam Piotrowski ([email protected])
Inheritance: extends WellCommerce\Bundle\DoctrineBundle\Entity\AbstractEntity, implements WellCommerce\Bundle\AttributeBundle\Entity\AttributeGroupInterface, use trait Knp\DoctrineBehaviors\Model\Translatable\Translatable, use trait Knp\DoctrineBehaviors\Model\Timestampable\Timestampable, use trait Knp\DoctrineBehaviors\Model\Blameable\Blameable
Show file Open project: wellcommerce/wellcommerce Class Usage Examples

Protected Properties

Property Type Description
$attributes Doctrine\Common\Collections\Collection

Public Methods

Method Description
addAttribute ( WellCommerce\Bundle\AttributeBundle\Entity\AttributeInterface $attribute )
getAttributes ( ) : Doctrine\Common\Collections\Collection
removeAttribute ( WellCommerce\Bundle\AttributeBundle\Entity\AttributeInterface $attribute )
setAttributes ( Doctrine\Common\Collections\Collection $attributes )

Method Details

addAttribute() public method

public addAttribute ( WellCommerce\Bundle\AttributeBundle\Entity\AttributeInterface $attribute )
$attribute WellCommerce\Bundle\AttributeBundle\Entity\AttributeInterface

getAttributes() public method

public getAttributes ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

removeAttribute() public method

public removeAttribute ( WellCommerce\Bundle\AttributeBundle\Entity\AttributeInterface $attribute )
$attribute WellCommerce\Bundle\AttributeBundle\Entity\AttributeInterface

setAttributes() public method

public setAttributes ( Doctrine\Common\Collections\Collection $attributes )
$attributes Doctrine\Common\Collections\Collection

Property Details

$attributes protected property

protected Collection,Doctrine\Common\Collections $attributes
return Doctrine\Common\Collections\Collection