| 1 | <?php |
||
| 10 | final class ApplicationConfigServiceProvider extends AbstractServiceProvider |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var ApplicationConfig |
||
| 14 | */ |
||
| 15 | private $config; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | private $prefix; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param ApplicationConfig $config |
||
| 24 | * @param string $prefix |
||
| 25 | * |
||
| 26 | * @throws InvalidArgumentException |
||
| 27 | */ |
||
| 28 | public function __construct(ApplicationConfig $config, $prefix) |
||
| 41 | |||
| 42 | public function register() |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @return string |
||
| 55 | */ |
||
| 56 | private function keyPrefix() |
||
| 64 | } |
||
| 65 |