diff options
Diffstat (limited to 'vendor/symfony/var-exporter/Tests/Fixtures/private-constructor.php')
| -rw-r--r-- | vendor/symfony/var-exporter/Tests/Fixtures/private-constructor.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/vendor/symfony/var-exporter/Tests/Fixtures/private-constructor.php b/vendor/symfony/var-exporter/Tests/Fixtures/private-constructor.php new file mode 100644 index 0000000000..b29978b7ab --- /dev/null +++ b/vendor/symfony/var-exporter/Tests/Fixtures/private-constructor.php @@ -0,0 +1,17 @@ +<?php + +return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate( + $o = [ + clone (\Symfony\Component\VarExporter\Internal\Registry::$prototypes['Symfony\\Component\\VarExporter\\Tests\\PrivateConstructor'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Symfony\\Component\\VarExporter\\Tests\\PrivateConstructor')), + ], + null, + [ + 'stdClass' => [ + 'prop' => [ + 'bar', + ], + ], + ], + $o[0], + [] +); |
