/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/HttpKernel/Tests/Fixtures/IntEnum.php
18 строк
352 B
Alexandre Daubois
[HttpKernel] Catch `TypeError` if the wrong type is used in `BackedEnumValueResolver`
04 дек 2023, 15:07
Не верифицирован
04 дек 2023, 15:07
5b08257
Код
Авторство
О чём код?
<?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\Tests\Fixtures; enum IntEnum: int { case One = 1; case Two = 2; }