Méthode |
Description |
|
__construct ( ) |
Constructor. |
|
addAddress ( Address $addresses ) : Country |
Add addresses. |
|
addAddresse ( Address $addresses ) : Country |
Add addresses. |
|
getAddresses ( ) : Doctrine\Common\Collections\Collection |
Get addresses. |
|
getCode ( ) : string |
Get code. |
|
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. |
|
setCode ( string $code ) : Country |
Set code. |
|
setId ( integer $id ) |
To force id = 1 in load fixtures. |
|
setName ( string $name ) : Country |
Set name. |
|