/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/ObjectMapper/Tests/Fixtures/ClassMap/RichDomainUser.php
15 строк
474 B
yoye
[ObjectMapper] Fix reverse class map throwing on unreadable source property absent from target
09 июн 2026, 10:47
09 июн 2026, 10:47
3f3922c
Код
Авторство
О чём код?
<?php namespace Symfony\Component\ObjectMapper\Tests\Fixtures\ClassMap; /** * A rich domain object, intentionally free of mapping metadata, with a private * property that has no public getter (not readable through PropertyAccess) and * no counterpart on the target view. */ final class RichDomainUser { public int $id = 1; public string $username = 'john'; private array $reviews = []; // unreadable + absent from the target: triggers the guarded branch }