1 | <?php |
||
8 | class Object implements Arrayable |
||
9 | { |
||
10 | /** |
||
11 | * Attributes. |
||
12 | */ |
||
13 | protected $attributes = []; |
||
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) |
||
44 | |||
45 | /** |
||
46 | * Get the instance as an array. |
||
47 | * |
||
48 | * @return array |
||
49 | */ |
||
50 | public function toArray() |
||
54 | } |
||
55 |