| 1 | <?php |
| 2 | |
| 3 | namespace Illuminate\Support\Facades; |
| 4 | |
| 5 | /** |
| 6 | * @method static bool has(string $key) |
| 7 | * @method static mixed get(array|string $key, mixed $default = null) |
| 8 | * @method static array getMany(array $keys) |
| 9 | * @method static string string(string $key, \Closure|string|null $default = null) |
| 10 | * @method static int integer(string $key, \Closure|int|null $default = null) |
| 11 | * @method static float float(string $key, \Closure|float|null $default = null) |
| 12 | * @method static bool boolean(string $key, \Closure|bool|null $default = null) |
| 13 | * @method static array array(string $key, \Closure|array|null $default = null) |
| 14 | * @method static \Illuminate\Support\Collection collection(string $key, \Closure|array|null $default = null) |
| 15 | * @method static void set(array|string $key, mixed $value = null) |
| 16 | * @method static void prepend(string $key, mixed $value) |
| 17 | * @method static void push(string $key, mixed $value) |
| 18 | * @method static array all() |
| 19 | * @method static void macro(string $name, object|callable $macro) |
| 20 | * @method static void mixin(object $mixin, bool $replace = true) |
| 21 | * @method static bool hasMacro(string $name) |
| 22 | * @method static void flushMacros() |
| 23 | * |
| 24 | * @see \Illuminate\Config\Repository |
| 25 | */ |
| 26 | class Config extends Facade |
| 27 | { |
| 28 | /** |
| 29 | * Get the registered name of the component. |
| 30 | * |
| 31 | * @return string |
| 32 | */ |
| 33 | protected static function getFacadeAccessor() |
| 34 | { |
| 35 | return 'config'; |
| 36 | } |
| 37 | } |