/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/ObjectMapper/Tests/Fixtures/NestedMultiTarget/OuterSource.php
27 строк
652 B
Amoifr
[ObjectMapper] Resolve a nested object-valued property by the type of its destination
23 июл 2026, 08:52
23 июл 2026, 08:52
0407026
Код
Авторство
О чём код?
<?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\NestedMultiTarget; use Symfony\Component\ObjectMapper\Attribute\Map; #[Map(target: OuterTarget::class)] #[Map(target: OuterTargetWithUntypedProperty::class)] #[Map(target: OuterTargetWithInterfaceProperty::class)] class OuterSource { public InnerSource $inner; public function __construct() { $this->inner = new InnerSource(); } }