Méthode | Description | |
---|---|---|
__construct ( ) | Constructor. | |
addEmail ( |
Add emails. | |
getEmails ( ) : Doctrine\Common\Collections\Collection | Get emails. | |
getId ( ) : integer | Get id. | |
getName ( ) : string | Get name. | |
jsonSerialize ( ) : mixed |
(PHP 5 >= 5.4.0) Specify data which should be serialized to JSON. |
|
removeEmail ( |
Remove emails. | |
setId ( integer $id ) | To force id = 1 in load fixtures. | |
setName ( string $name ) : |
Set name. |
public addEmail ( |
||
$emails | ||
Résultat |
public getEmails ( ) : Doctrine\Common\Collections\Collection | ||
Résultat | Doctrine\Common\Collections\Collection |
public jsonSerialize ( ) : mixed | ||
Résultat | mixed | data which can be serialized by json_encode, which is a value of any type other than a resource |