1 | <?php |
||
9 | final class Authentication implements Emptiable, Serializable |
||
10 | { |
||
11 | use EmptiableTrait; |
||
12 | |||
13 | /** |
||
14 | * @var string |
||
15 | */ |
||
16 | private $identification; |
||
17 | |||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | private $identification2; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | private $apiKey; |
||
27 | |||
28 | public function __construct($identification, $apiKey = null) |
||
33 | |||
34 | /** |
||
35 | * @return string |
||
36 | */ |
||
37 | public function getIdentification() |
||
41 | |||
42 | /** |
||
43 | * @param string $identification |
||
44 | */ |
||
45 | public function setIdentification($identification) |
||
51 | |||
52 | /** |
||
53 | * @return string |
||
54 | */ |
||
55 | public function getIdentification2() |
||
59 | |||
60 | /** |
||
61 | * @param string $identification2 the identification2 |
||
62 | */ |
||
63 | public function setIdentification2($identification2) |
||
69 | |||
70 | /** |
||
71 | * @return string |
||
72 | */ |
||
73 | public function getApiKey() |
||
77 | |||
78 | /** |
||
79 | * @param string $apiKey |
||
80 | */ |
||
81 | public function setApiKey($apiKey) |
||
87 | |||
88 | public function serialize() |
||
101 | } |
||
102 |