/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/ObjectMapper/Tests/Fixtures/SubclassTargetWithTransform/Source.php
20 строк
507 B
lazerg
[ObjectMapper] Fix the class-level mapping of another target being applied
05 авг 2026, 17:45
05 авг 2026, 17:45
e0eea26
Код
Авторство
О чём код?
<?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\SubclassTargetWithTransform; use Symfony\Component\ObjectMapper\Attribute\Map; #[Map(target: ChildTarget::class, transform: [ChildTarget::class, 'transform'])] class Source { public string $name = 'test'; }