1: <?php declare(strict_types=1);
2:
3: namespace Salient\Core\Facade;
4:
5: use Salient\Core\AbstractFacade;
6: use Salient\Core\ConfigurationManager;
7:
8: /**
9: * A facade for ConfigurationManager
10: *
11: * @method static array<string,mixed[]> all() Get all configuration values
12: * @method static mixed get(string $key, mixed $default = null) Get a configuration value
13: * @method static array<string,mixed> getMany(array<string|int,mixed|string> $keys) Get multiple configuration values (see {@see ConfigurationManager::getMany()})
14: * @method static bool has(string $key) Check if a configuration value exists
15: * @method static ConfigurationManager loadDirectory(string $directory) Load values from files in a directory
16: *
17: * @api
18: *
19: * @extends AbstractFacade<ConfigurationManager>
20: *
21: * @generated
22: */
23: final class Config extends AbstractFacade
24: {
25: /**
26: * @internal
27: */
28: protected static function getService()
29: {
30: return ConfigurationManager::class;
31: }
32: }
33: