PHP Класс WellCommerce\Bundle\AttributeBundle\Entity\AttributeValue

Автор: Adam Piotrowski ([email protected])
Наследование: extends WellCommerce\Bundle\DoctrineBundle\Entity\AbstractEntity, implements WellCommerce\Bundle\AttributeBundle\Entity\AttributeValueInterface, use trait Knp\DoctrineBehaviors\Model\Translatable\Translatable, use trait Knp\DoctrineBehaviors\Model\Timestampable\Timestampable, use trait Knp\DoctrineBehaviors\Model\Blameable\Blameable
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$attributes Doctrine\Common\Collections\Collection

Открытые методы

Метод Описание
__construct ( ) AttributeValue constructor.
addAttribute ( WellCommerce\Bundle\AttributeBundle\Entity\AttributeInterface $attribute )
getAttributes ( ) : Doctrine\Common\Collections\Collection
setAttributes ( Doctrine\Common\Collections\Collection $attributes )

Защищенные методы

Метод Описание
syncNewAttributes ( Doctrine\Common\Collections\Collection $attributes )
syncOldAttributes ( Doctrine\Common\Collections\Collection $attributes )

Описание методов

__construct() публичный Метод

AttributeValue constructor.
public __construct ( )

addAttribute() публичный Метод

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

getAttributes() публичный Метод

public getAttributes ( ) : Doctrine\Common\Collections\Collection
Результат Doctrine\Common\Collections\Collection

setAttributes() публичный Метод

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

syncNewAttributes() защищенный Метод

protected syncNewAttributes ( Doctrine\Common\Collections\Collection $attributes )
$attributes Doctrine\Common\Collections\Collection

syncOldAttributes() защищенный Метод

protected syncOldAttributes ( Doctrine\Common\Collections\Collection $attributes )
$attributes Doctrine\Common\Collections\Collection

Описание свойств

$attributes защищенное свойство

protected Collection,Doctrine\Common\Collections $attributes
Результат Doctrine\Common\Collections\Collection