/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/HttpKernel/Attribute/AsController.php
24 строки
623 B
Alexandre Daubois
[HttpFoundation][HttpKernel] Remove dead code and useless casts
19 июл 2024, 14:15
Не верифицирован
19 июл 2024, 14:15
c26bb3a
Код
Авторство
О чём код?
<?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\HttpKernel\Attribute; /** * Autoconfigures controllers as services by applying * the `controller.service_arguments` tag to them. * * This enables injecting services as method arguments in addition * to other conventional dependency injection strategies. */ #[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_FUNCTION)] class AsController { }