|
| 1 | +Array |
| 2 | +( |
| 3 | + [Container%s/removed-ids.php] => <?php |
| 4 | + |
| 5 | +return [ |
| 6 | + 'Psr\\Container\\ContainerInterface' => true, |
| 7 | + 'Symfony\\Component\\DependencyInjection\\ContainerInterface' => true, |
| 8 | +]; |
| 9 | + |
| 10 | + [Container%s/getNonSharedFooService.php] => <?php |
| 11 | + |
| 12 | +use Symfony\Component\DependencyInjection\Argument\RewindableGenerator; |
| 13 | +use Symfony\Component\DependencyInjection\Exception\RuntimeException; |
| 14 | + |
| 15 | +// This file has been auto-generated by the Symfony Dependency Injection Component for internal use. |
| 16 | +// Returns the public 'non_shared_foo' service. |
| 17 | + |
| 18 | +include_once ($this->targetDirs[0].'/Fixtures/includes/foo_lazy.php'); |
| 19 | + |
| 20 | +$this->factories['non_shared_foo'] = function ($lazyLoad = true) { |
| 21 | + return new \Bar\FooLazyClass(); |
| 22 | +}; |
| 23 | + |
| 24 | +return $this->factories['non_shared_foo'](); |
| 25 | + |
| 26 | + [Container%s/ProjectServiceContainer.php] => <?php |
| 27 | + |
| 28 | +namespace Container%s; |
| 29 | + |
| 30 | +use Symfony\Component\DependencyInjection\Argument\RewindableGenerator; |
| 31 | +use Symfony\Component\DependencyInjection\ContainerInterface; |
| 32 | +use Symfony\Component\DependencyInjection\Container; |
| 33 | +use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; |
| 34 | +use Symfony\Component\DependencyInjection\Exception\LogicException; |
| 35 | +use Symfony\Component\DependencyInjection\Exception\RuntimeException; |
| 36 | +use Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag; |
| 37 | + |
| 38 | +/** |
| 39 | + * This class has been auto-generated |
| 40 | + * by the Symfony Dependency Injection Component. |
| 41 | + * |
| 42 | + * @final since Symfony 3.3 |
| 43 | + */ |
| 44 | +class ProjectServiceContainer extends Container |
| 45 | +{ |
| 46 | + private $buildParameters; |
| 47 | + private $containerDir; |
| 48 | + private $parameters; |
| 49 | + private $targetDirs = []; |
| 50 | + |
| 51 | + public function __construct(array $buildParameters = [], $containerDir = __DIR__) |
| 52 | + { |
| 53 | + $dir = $this->targetDirs[0] = \dirname($containerDir); |
| 54 | + for ($i = 1; $i <= 5; ++$i) { |
| 55 | + $this->targetDirs[$i] = $dir = \dirname($dir); |
| 56 | + } |
| 57 | + $this->buildParameters = $buildParameters; |
| 58 | + $this->containerDir = $containerDir; |
| 59 | + $this->services = $this->privates = []; |
| 60 | + $this->fileMap = [ |
| 61 | + 'non_shared_foo' => 'getNonSharedFooService.php', |
| 62 | + ]; |
| 63 | + |
| 64 | + $this->aliases = []; |
| 65 | + } |
| 66 | + |
| 67 | + public function compile() |
| 68 | + { |
| 69 | + throw new LogicException('You cannot compile a dumped container that was already compiled.'); |
| 70 | + } |
| 71 | + |
| 72 | + public function isCompiled() |
| 73 | + { |
| 74 | + return true; |
| 75 | + } |
| 76 | + |
| 77 | + public function getRemovedIds() |
| 78 | + { |
| 79 | + return require $this->containerDir.\DIRECTORY_SEPARATOR.'removed-ids.php'; |
| 80 | + } |
| 81 | + |
| 82 | + protected function load($file, $lazyLoad = true) |
| 83 | + { |
| 84 | + return require $this->containerDir.\DIRECTORY_SEPARATOR.$file; |
| 85 | + } |
| 86 | +} |
| 87 | + |
| 88 | + [ProjectServiceContainer.php] => <?php |
| 89 | + |
| 90 | +// This file has been auto-generated by the Symfony Dependency Injection Component for internal use. |
| 91 | + |
| 92 | +if (\class_exists(\Container%s\ProjectServiceContainer::class, false)) { |
| 93 | + // no-op |
| 94 | +} elseif (!include __DIR__.'/Container%s/ProjectServiceContainer.php') { |
| 95 | + touch(__DIR__.'/Container%s.legacy'); |
| 96 | + |
| 97 | + return; |
| 98 | +} |
| 99 | + |
| 100 | +if (!\class_exists(ProjectServiceContainer::class, false)) { |
| 101 | + \class_alias(\Container%s\ProjectServiceContainer::class, ProjectServiceContainer::class, false); |
| 102 | +} |
| 103 | + |
| 104 | +return new \Container%s\ProjectServiceContainer([ |
| 105 | + 'container.build_hash' => '%s', |
| 106 | + 'container.build_id' => '%s', |
| 107 | + 'container.build_time' => %d, |
| 108 | +], __DIR__.\DIRECTORY_SEPARATOR.'Container%s'); |
| 109 | + |
| 110 | +) |
0 commit comments