Method |
Description |
|
__construct ( ) |
Constructor. |
|
addAddress ( Address $addresses ) : AddressType |
Add addresses. |
|
addAddresse ( Address $addresses ) : AddressType |
Add addresses. |
|
getAddresses ( ) : Doctrine\Common\Collections\Collection |
Get addresses. |
|
getId ( ) : integer |
Get id. |
|
getName ( ) : string |
Get name. |
|
jsonSerialize ( ) : mixed |
(PHP 5 >= 5.4.0)
Specify data which should be serialized to JSON. |
|
removeAddress ( Address $addresses ) |
Remove addresses. |
|
removeAddresse ( Address $addresses ) |
Remove addresses. |
|
setId ( integer $id ) |
To force id = 1 in load fixtures. |
|
setName ( string $name ) : AddressType |
Set name. |
|