| 1 | <?php |
||
| 8 | class Object implements Arrayable |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Attributes |
||
| 12 | */ |
||
| 13 | protected $attributes = array(); |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Constructor |
||
| 17 | */ |
||
| 18 | public function __construct($email, $name = null, $mailboxHash = null) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Setter |
||
| 27 | */ |
||
| 28 | public function __set($name, $value) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Getter |
||
| 35 | */ |
||
| 36 | public function __get($name) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Get the instance as an array. |
||
| 46 | * |
||
| 47 | * @return array |
||
| 48 | */ |
||
| 49 | public function toArray() |
||
| 53 | } |
||
| 54 |