/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/ObjectMapper/Tests/Fixtures/InstanceCallbackWithArguments/B.php
27 строк
617 B
Matthias Schmidt
[ObjectMapper] Fix parameter passed to class level transform
19 июн 2025, 12:03
Не верифицирован
19 июн 2025, 12:03
7a3c92f
Код
Авторство
О чём код?
<?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\InstanceCallbackWithArguments; class B { public mixed $transformValue; public object $transformSource; public static function newInstance(mixed $value, object $source): self { $b = new self(); $b->transformValue = $value; $b->transformSource = $source; return $b; } }