| Total Complexity | 6 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class LocaleConfig |
||
| 8 | { |
||
| 9 | protected $config; |
||
| 10 | |||
| 11 | public function __construct(Config $config) |
||
| 12 | { |
||
| 13 | $this->config = $config; |
||
| 14 | } |
||
| 15 | |||
| 16 | public function locales(array $options = []) |
||
| 19 | } |
||
| 20 | |||
| 21 | protected function getOptionOrConfig(string $key, array $options) |
||
| 26 | } |
||
| 27 | |||
| 28 | public function getConfig(string $key) |
||
| 31 | } |
||
| 32 | |||
| 33 | public function addLocaleToUrl(array $options = []) |
||
| 38 |