@@ -10,7 +10,7 @@ use Symfony\Component\DependencyInjection\Exception\RuntimeException;
10
10
/**
11
11
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
12
12
*/
13
- class getNonSharedFooService extends ProjectServiceContainer
13
+ class getNonSharedFooService extends Symfony_DI_PhpDumper_Service_Non_Shared_Lazy_As_File
14
14
{
15
15
/**
16
16
* Gets the public 'non_shared_foo' service.
@@ -19,16 +19,16 @@ class getNonSharedFooService extends ProjectServiceContainer
19
19
*/
20
20
public static function do($container, $lazyLoad = true)
21
21
{
22
- $container->factories['non_shared_foo'] ??= self::do(... );
22
+ $container->factories['non_shared_foo'] ??= fn () => self::do($container );
23
23
24
24
if (true === $lazyLoad) {
25
- return $container->createProxy('FooLazyClassGhost0fc418d ', static fn () => \FooLazyClassGhost0fc418d ::createLazyGhost(static fn ($proxy) => self::do($container, $proxy)));
25
+ return $container->createProxy('FooLazyClassGhost%s ', static fn () => \FooLazyClassGhost%s ::createLazyGhost(static fn ($proxy) => self::do($container, $proxy)));
26
26
}
27
27
28
28
static $include = true;
29
29
30
30
if ($include) {
31
- include_once $container->targetDir.''.'/Fixtures/includes/foo_lazy .php';
31
+ include_once '%sfoo_lazy .php';
32
32
33
33
$include = false;
34
34
}
@@ -37,11 +37,11 @@ class getNonSharedFooService extends ProjectServiceContainer
37
37
}
38
38
}
39
39
40
- [Container%s/FooLazyClassGhost0fc418d .php] => <?php
40
+ [Container%s/FooLazyClassGhost%s .php] => <?php
41
41
42
42
namespace Container%s;
43
43
44
- class FooLazyClassGhost0fc418d extends \Bar\FooLazyClass implements \Symfony\Component\VarExporter\LazyObjectInterface
44
+ class FooLazyClassGhost%s extends \Bar\FooLazyClass implements \Symfony\Component\VarExporter\LazyObjectInterface
45
45
{
46
46
use \Symfony\Component\VarExporter\LazyGhostTrait;
47
47
@@ -53,11 +53,11 @@ class_exists(\Symfony\Component\VarExporter\Internal\Hydrator::class);
53
53
class_exists(\Symfony\Component\VarExporter\Internal\LazyObjectRegistry::class);
54
54
class_exists(\Symfony\Component\VarExporter\Internal\LazyObjectState::class);
55
55
56
- if (!\class_exists('FooLazyClassGhost0fc418d ', false)) {
57
- \class_alias(__NAMESPACE__.'\\FooLazyClassGhost0fc418d ', 'FooLazyClassGhost0fc418d ', false);
56
+ if (!\class_exists('FooLazyClassGhost%s ', false)) {
57
+ \class_alias(__NAMESPACE__.'\\FooLazyClassGhost%s ', 'FooLazyClassGhost%s ', false);
58
58
}
59
59
60
- [Container%s/ProjectServiceContainer .php] => <?php
60
+ [Container%s/Symfony_DI_PhpDumper_Service_Non_Shared_Lazy_As_File .php] => <?php
61
61
62
62
namespace Container%s;
63
63
@@ -73,14 +73,12 @@ use Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface;
73
73
/**
74
74
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
75
75
*/
76
- class ProjectServiceContainer extends Container
76
+ class Symfony_DI_PhpDumper_Service_Non_Shared_Lazy_As_File extends Container
77
77
{
78
- protected $targetDir;
79
78
protected $parameters = [];
80
79
81
80
public function __construct(private array $buildParameters = [], protected string $containerDir = __DIR__)
82
81
{
83
- $this->targetDir = \dirname($containerDir);
84
82
$this->services = $this->privates = [];
85
83
$this->fileMap = [
86
84
'non_shared_foo' => 'getNonSharedFooService',
@@ -124,7 +122,7 @@ class ProjectServiceContainer extends Container
124
122
}
125
123
}
126
124
127
- [ProjectServiceContainer .preload.php] => <?php
125
+ [Symfony_DI_PhpDumper_Service_Non_Shared_Lazy_As_File .preload.php] => <?php
128
126
129
127
// This file has been auto-generated by the Symfony Dependency Injection Component
130
128
// You can reference it in the "opcache.preload" php.ini setting on PHP >= 7.4 when preloading is desired
@@ -135,9 +133,9 @@ if (in_array(PHP_SAPI, ['cli', 'phpdbg'], true)) {
135
133
return;
136
134
}
137
135
138
- require dirname(__DIR__, %d). '%svendor/autoload.php';
139
- (require __DIR__.'/ProjectServiceContainer .php')->set(\Container%s\ProjectServiceContainer ::class, null);
140
- require __DIR__.'/Container%s/FooLazyClassGhost0fc418d .php';
136
+ require '%svendor/autoload.php';
137
+ (require __DIR__.'/Symfony_DI_PhpDumper_Service_Non_Shared_Lazy_As_File .php')->set(\Container%s\Symfony_DI_PhpDumper_Service_Non_Shared_Lazy_As_File ::class, null);
138
+ require __DIR__.'/Container%s/FooLazyClassGhost%s .php';
141
139
require __DIR__.'/Container%s/getNonSharedFooService.php';
142
140
143
141
$classes = [];
@@ -146,23 +144,23 @@ $classes[] = 'Symfony\Component\DependencyInjection\ContainerInterface';
146
144
147
145
$preloaded = Preloader::preload($classes);
148
146
149
- [ProjectServiceContainer .php] => <?php
147
+ [Symfony_DI_PhpDumper_Service_Non_Shared_Lazy_As_File .php] => <?php
150
148
151
149
// This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
152
150
153
- if (\class_exists(\Container%s\ProjectServiceContainer ::class, false)) {
151
+ if (\class_exists(\Container%s\Symfony_DI_PhpDumper_Service_Non_Shared_Lazy_As_File ::class, false)) {
154
152
// no-op
155
- } elseif (!include __DIR__.'/Container%s/ProjectServiceContainer .php') {
153
+ } elseif (!include __DIR__.'/Container%s/Symfony_DI_PhpDumper_Service_Non_Shared_Lazy_As_File .php') {
156
154
touch(__DIR__.'/Container%s.legacy');
157
155
158
156
return;
159
157
}
160
158
161
- if (!\class_exists(ProjectServiceContainer ::class, false)) {
162
- \class_alias(\Container%s\ProjectServiceContainer ::class, ProjectServiceContainer ::class, false);
159
+ if (!\class_exists(Symfony_DI_PhpDumper_Service_Non_Shared_Lazy_As_File ::class, false)) {
160
+ \class_alias(\Container%s\Symfony_DI_PhpDumper_Service_Non_Shared_Lazy_As_File ::class, Symfony_DI_PhpDumper_Service_Non_Shared_Lazy_As_File ::class, false);
163
161
}
164
162
165
- return new \Container%s\ProjectServiceContainer ([
163
+ return new \Container%s\Symfony_DI_PhpDumper_Service_Non_Shared_Lazy_As_File ([
166
164
'container.build_hash' => '%s',
167
165
'container.build_id' => '%s',
168
166
'container.build_time' => %d,
0 commit comments