Настройка
класс Config реализует ContextualAttribute (Просмотреть исходный код)
Методы
| __construct(string $key, mixed $default = null)
Создать новый экземпляр класса. | ||
| static mixed | resolve(Config $attribute, Container $container)
Получить значение конфигурации. |
Подробности
__construct(string $key, mixed $default = null)
Создать новый экземпляр класса.
© 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