Method | Description | |
---|---|---|
__construct ( ) | Constructor. | |
addMedia ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media ) : |
Add media. | |
getDescription ( ) : string | Get description. | |
getId ( ) : integer | Get id. | |
getMedia ( ) : Doctrine\Common\Collections\Collection | Get media. | |
getName ( ) : string | Get name. | |
removeMedia ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media ) | Remove media. | |
setDescription ( string $description ) : |
Set description. | |
setId ( integer $id ) | To force id = 1 in load fixtures. | |
setName ( string $name ) : |
Set name. |
public addMedia ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media ) : |
||
$media | Sulu\Bundle\MediaBundle\Entity\MediaInterface | |
return |
public getMedia ( ) : Doctrine\Common\Collections\Collection | ||
return | Doctrine\Common\Collections\Collection |
public removeMedia ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media ) | ||
$media | Sulu\Bundle\MediaBundle\Entity\MediaInterface |
public setDescription ( string $description ) : |
||
$description | string | |
return |