/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/ObjectMapper/Metadata/Mapping.php
34 строки
784 B
soyuka
[ObjectMapper] Handle N targets per source in reverse class map
16 июн 2026, 17:09
16 июн 2026, 17:09
4a7e199
Код
Авторство
О чём код?
<?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\Metadata; use Symfony\Component\ObjectMapper\Attribute\Map; /** * Configures a class or a property to map to. * * @internal * * @author Antoine Bluchet <soyuka@gmail.com> */ final class Mapping extends Map { public function __construct( ?string $target = null, ?string $source = null, mixed $if = null, mixed $transform = null, public readonly ?string $targetClass = null, ) { parent::__construct($target, $source, $if, $transform); } }