1 | <?php |
||
5 | class ApnCredentials |
||
6 | { |
||
7 | /** |
||
8 | * The connection environment. |
||
9 | * |
||
10 | * @var string |
||
11 | */ |
||
12 | public $environment; |
||
13 | |||
14 | /** |
||
15 | * The connection certificate. |
||
16 | * |
||
17 | * @var string |
||
18 | */ |
||
19 | public $certificate; |
||
20 | |||
21 | /** |
||
22 | * The connection pass phrase. |
||
23 | * |
||
24 | * @var string |
||
25 | */ |
||
26 | public $passPhrase; |
||
27 | |||
28 | /** |
||
29 | * Create a new instance of the credentials. |
||
30 | * |
||
31 | * @param string $environment |
||
32 | * @param string $certificate |
||
33 | * @param string|null $passPhrase |
||
34 | */ |
||
35 | public function __construct($environment, $certificate, $passPhrase = null) |
||
41 | } |
||
42 |