/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/DependencyInjection/Attribute/Lazy.php
21 строка
477 B
Benjamin Zaslavsky
[DependencyInjection] Add Lazy attribute for classes and arguments
03 фев 2024, 16:27
03 фев 2024, 16:27
e53db3e
Код
Авторство
О чём код?
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\DependencyInjection\Attribute; #[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_PARAMETER)] class Lazy { public function __construct( public bool|string|null $lazy = true, ) { } }