1 | <?php |
||
13 | final class ApplicationConfigServiceProvider extends AbstractServiceProvider |
||
14 | { |
||
15 | /** |
||
16 | * @var ApplicationConfig |
||
17 | */ |
||
18 | private $config; |
||
19 | |||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | private $prefix; |
||
24 | |||
25 | /** |
||
26 | * @param ApplicationConfig $config |
||
27 | * @param string $prefix |
||
28 | * |
||
29 | * @throws InvalidArgumentException |
||
30 | */ |
||
31 | public function __construct(ApplicationConfig $config, $prefix) |
||
44 | |||
45 | public function register() |
||
55 | |||
56 | /** |
||
57 | * @return string |
||
58 | */ |
||
59 | private function keyPrefix() |
||
67 | } |
||
68 |