1 | <?php |
||
7 | class ApnCredentials |
||
8 | { |
||
9 | /** |
||
10 | * The config repository. |
||
11 | * |
||
12 | * @var \Illuminate\Contracts\Config\Repository |
||
13 | */ |
||
14 | protected $config; |
||
15 | |||
16 | /** |
||
17 | * Create a new instance of the credentials. |
||
18 | * |
||
19 | * @param \Illuminate\Contracts\Config\Repository |
||
20 | */ |
||
21 | 6 | public function __construct(Repository $config) |
|
25 | |||
26 | /** |
||
27 | * Get the APN environment. |
||
28 | * |
||
29 | * @return string |
||
30 | */ |
||
31 | 4 | public function environment() |
|
35 | |||
36 | /** |
||
37 | * Get the APN certificate.. |
||
38 | * |
||
39 | * @return string |
||
40 | */ |
||
41 | 4 | public function certificate() |
|
45 | |||
46 | /** |
||
47 | * Get the APN pass phrase. |
||
48 | * |
||
49 | * @return string |
||
50 | */ |
||
51 | 4 | public function passPhrase() |
|
55 | } |
||
56 |