/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/ObjectMapper/Tests/Fixtures/MapTargetToSource/B.php
22 строки
494 B
soyuka
[ObjectMapper] mapping on target (reverse-side mapping)
30 мар 2025, 10:56
Не верифицирован
30 мар 2025, 10:56
c142673
Код
Авторство
О чём код?
<?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\MapTargetToSource; use Symfony\Component\ObjectMapper\Attribute\Map; #[Map(source: A::class)] class B { public function __construct(#[Map(source: 'source')] public string $target) { } }