Method | Description | |
---|---|---|
__construct ( ) | Constructor. | |
addFax ( |
Add faxes. | |
addFaxe ( |
Add faxes. | |
getFaxes ( ) : Doctrine\Common\Collections\Collection | Get faxes. | |
getId ( ) : integer | Get id. | |
getName ( ) : string | Get name. | |
jsonSerialize ( ) : mixed |
(PHP 5 >= 5.4.0) Specify data which should be serialized to JSON. |
|
removeFax ( |
Remove faxes. | |
removeFaxe ( |
Remove faxes. | |
setId ( integer $id ) | To force id = 1 in load fixtures. | |
setName ( string $name ) : |
Set name. |
public addFaxe ( |
||
$faxes | ||
return |
public getFaxes ( ) : Doctrine\Common\Collections\Collection | ||
return | Doctrine\Common\Collections\Collection |
public jsonSerialize ( ) : mixed | ||
return | mixed | data which can be serialized by json_encode, which is a value of any type other than a resource |