perf: 增加原生缓存
This commit is contained in:
31
vendor/illuminate/support/Facades/Config.php
vendored
Normal file
31
vendor/illuminate/support/Facades/Config.php
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
/**
|
||||
* @method static bool has(string $key)
|
||||
* @method static mixed get(array|string $key, mixed $default = null)
|
||||
* @method static array getMany(array $keys)
|
||||
* @method static void set(array|string $key, mixed $value = null)
|
||||
* @method static void prepend(string $key, mixed $value)
|
||||
* @method static void push(string $key, mixed $value)
|
||||
* @method static array all()
|
||||
* @method static void macro(string $name, object|callable $macro)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
* @method static bool hasMacro(string $name)
|
||||
* @method static void flushMacros()
|
||||
*
|
||||
* @see \Illuminate\Config\Repository
|
||||
*/
|
||||
class Config extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'config';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user