1 | <?php |
||
13 | class MailxpertApp |
||
14 | { |
||
15 | /** |
||
16 | * @var string The app ID. |
||
17 | */ |
||
18 | private $id; |
||
19 | |||
20 | /** |
||
21 | * @var string The app secret. |
||
22 | */ |
||
23 | private $secret; |
||
24 | |||
25 | /** |
||
26 | * @param string $id |
||
27 | * @param string $secret |
||
28 | */ |
||
29 | public function __construct($id, $secret) |
||
34 | |||
35 | /** |
||
36 | * @return string |
||
37 | */ |
||
38 | public function getId() |
||
42 | |||
43 | /** |
||
44 | * @return string |
||
45 | */ |
||
46 | public function getSecret() |
||
50 | |||
51 | /** |
||
52 | * @return string |
||
53 | */ |
||
54 | public function serialize() |
||
58 | |||
59 | /** |
||
60 | * @param string $serialized |
||
61 | */ |
||
62 | public function unserialize($serialized) |
||
68 | } |
||
69 |