/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/ObjectMapper/Tests/Fixtures/ExplicitTargetPriority/ReversedSource.php
22 строки
551 B
Daniel Pilot
[ObjectMapper] Fix explicit #[Map(target:)] being overwritten by a same-name source property
22 июл 2026, 04:42
22 июл 2026, 04:42
5bced03
Код
Авторство
О чём код?
<?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\ObjectMapper\Tests\Fixtures\ExplicitTargetPriority; use Symfony\Component\ObjectMapper\Attribute\Map; #[Map(target: Target::class)] class ReversedSource { public string $email = 'from-email'; #[Map(target: 'email')] public string $customerEmail = 'from-customerEmail'; }