reliqarts /
direct-translator
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | namespace ReliqArts\DirectTranslator; |
||
| 6 | |||
| 7 | interface ConfigProvider |
||
| 8 | { |
||
| 9 | public const CONFIG_FILE_PATH = ServiceProvider::ASSETS_DIR . '/config/config.php'; |
||
| 10 | |||
| 11 | public const CONFIG_KEY_PACKAGE = 'directtranslator'; |
||
| 12 | public const CONFIG_KEY_VOCABULARY_DIRECTORIES = 'vocabulary_directories'; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param string $key |
||
| 16 | * @param null $default |
||
|
0 ignored issues
–
show
Documentation
Bug
introduced
by
Loading history...
|
|||
| 17 | */ |
||
| 18 | public function get(string $key, $default = null); |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @return array |
||
| 22 | */ |
||
| 23 | public function getVocabularyDirectories(): array; |
||
| 24 | } |
||
| 25 |