| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class ConfigFacade implements ConfigFacadeInterface |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var \Jellyfish\Config\ConfigFactory |
||
| 9 | */ |
||
| 10 | protected $factory; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @param \Jellyfish\Config\ConfigFactory $factory |
||
| 14 | */ |
||
| 15 | public function __construct(ConfigFactory $factory) |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param string $key |
||
| 22 | * @param string|null $default |
||
| 23 | * |
||
| 24 | * @return string |
||
| 25 | */ |
||
| 26 | public function get(string $key, ?string $default = null): string |
||
| 31 |