Spec-Zone.ru › Laravel 11

Настройка

класс Config реализует ContextualAttribute (Просмотреть исходный код)

Методы

__construct(string $key, mixed $default = null)

Создать новый экземпляр класса.

static mixed resolve(Config $attribute, Container $container)

Получить значение конфигурации.

Подробности

__construct(string $key, mixed $default = null)

Создать новый экземпляр класса.

Параметры

string $key
mixed $default

static mixed resolve(Config $attribute, Container $container)

Получить значение конфигурации.

Параметры

Config $attribute
Container $container

Возвращаемое значение

mixed

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Container/Attributes/Config.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API