/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/Routing/Attribute/DeprecatedAlias.php
26 строк
620 B
Nicolas Grekas
[Routing][Serializer] Remove annotation aliases and getters and setters in favor of public properties on attributes
21 авг 2025, 17:15
21 авг 2025, 17:15
153ae98
Код
Авторство
О чём код?
<?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\Routing\Attribute; /** * This class is meant to be used in {@see Route} to define an alias for a route. */ class DeprecatedAlias { public function __construct( public readonly string $aliasName, public readonly string $package, public readonly string $version, public readonly string $message = '', ) { } }