/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/ObjectMapper/Tests/Fixtures/ExplicitSource/Target.php
22 строки
505 B
Amoifr
[ObjectMapper] Fix per-property #[Map(source:)] being ignored when the target property name also exists on the source
21 июл 2026, 19:01
21 июл 2026, 19:01
79405b3
Код
Авторство
О чём код?
<?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\ExplicitSource; use Symfony\Component\ObjectMapper\Attribute\Map; #[Map(source: Source::class)] class Target { public function __construct(#[Map(source: 'reasonText')] public string $reason) { } }