| 148 |
lars |
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 void set(array|string $key, mixed $value = null)
|
|
|
10 |
* @method static void prepend(string $key, mixed $value)
|
|
|
11 |
* @method static void push(string $key, mixed $value)
|
|
|
12 |
* @method static array all()
|
|
|
13 |
* @method static void macro(string $name, object|callable $macro)
|
|
|
14 |
* @method static void mixin(object $mixin, bool $replace = true)
|
|
|
15 |
* @method static bool hasMacro(string $name)
|
|
|
16 |
* @method static void flushMacros()
|
|
|
17 |
*
|
|
|
18 |
* @see \Illuminate\Config\Repository
|
|
|
19 |
*/
|
|
|
20 |
class Config extends Facade
|
|
|
21 |
{
|
|
|
22 |
/**
|
|
|
23 |
* Get the registered name of the component.
|
|
|
24 |
*
|
|
|
25 |
* @return string
|
|
|
26 |
*/
|
|
|
27 |
protected static function getFacadeAccessor()
|
|
|
28 |
{
|
|
|
29 |
return 'config';
|
|
|
30 |
}
|
|
|
31 |
}
|