| Total Complexity | 4 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class Laravel implements ConfigProvider |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * {@inheritdoc} |
||
| 13 | */ |
||
| 14 | public function get(string $key, $default = null) |
||
| 15 | { |
||
| 16 | return config($key, $default); |
||
| 17 | } |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @return array |
||
| 21 | */ |
||
| 22 | public function getVocabularyDirectories(): array |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Ensure config key is package specific. |
||
| 29 | * |
||
| 30 | * @param $key |
||
| 31 | * |
||
| 32 | * @return string |
||
| 33 | */ |
||
| 34 | private function finalizeConfigKey($key): string |
||
| 43 |