51 lines
2.6 KiB
PHP
51 lines
2.6 KiB
PHP
<?php
|
|
|
|
namespace Illuminate\Support\Facades;
|
|
|
|
/**
|
|
* @method static bool has(string $key)
|
|
* @method static bool hasHidden(string $key)
|
|
* @method static array all()
|
|
* @method static array allHidden()
|
|
* @method static mixed get(string $key, mixed $default = null)
|
|
* @method static mixed getHidden(string $key, mixed $default = null)
|
|
* @method static mixed pull(string $key, mixed $default = null)
|
|
* @method static mixed pullHidden(string $key, mixed $default = null)
|
|
* @method static array only(array $keys)
|
|
* @method static array onlyHidden(array $keys)
|
|
* @method static \Illuminate\Log\Context\Repository add(string|array $key, mixed $value = null)
|
|
* @method static \Illuminate\Log\Context\Repository addHidden(string|array $key, mixed $value = null)
|
|
* @method static \Illuminate\Log\Context\Repository forget(string|array $key)
|
|
* @method static \Illuminate\Log\Context\Repository forgetHidden(string|array $key)
|
|
* @method static \Illuminate\Log\Context\Repository addIf(string $key, mixed $value)
|
|
* @method static \Illuminate\Log\Context\Repository addHiddenIf(string $key, mixed $value)
|
|
* @method static \Illuminate\Log\Context\Repository push(string $key, mixed ...$values)
|
|
* @method static \Illuminate\Log\Context\Repository pushHidden(string $key, mixed ...$values)
|
|
* @method static bool isEmpty()
|
|
* @method static \Illuminate\Log\Context\Repository dehydrating(callable $callback)
|
|
* @method static \Illuminate\Log\Context\Repository hydrated(callable $callback)
|
|
* @method static \Illuminate\Log\Context\Repository handleUnserializeExceptionsUsing(callable|null $callback)
|
|
* @method static \Illuminate\Log\Context\Repository flush()
|
|
* @method static \Illuminate\Log\Context\Repository|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
|
|
* @method static \Illuminate\Log\Context\Repository|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
|
|
* @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()
|
|
* @method static \Illuminate\Database\Eloquent\Model restoreModel(\Illuminate\Contracts\Database\ModelIdentifier $value)
|
|
*
|
|
* @see \Illuminate\Log\Context\Repository
|
|
*/
|
|
class Context extends Facade
|
|
{
|
|
/**
|
|
* Get the registered name of the component.
|
|
*
|
|
* @return string
|
|
*/
|
|
protected static function getFacadeAccessor()
|
|
{
|
|
return \Illuminate\Log\Context\Repository::class;
|
|
}
|
|
}
|