2017-02-21 22:24:03 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
|
|
|
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
|
|
|
use Symfony\Component\DependencyInjection\Container;
|
|
|
|
use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
|
|
|
|
use Symfony\Component\DependencyInjection\Exception\LogicException;
|
|
|
|
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
|
|
|
|
use Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* This class has been auto-generated
|
|
|
|
* by the Symfony Dependency Injection Component.
|
|
|
|
*
|
|
|
|
* @final since Symfony 3.3
|
|
|
|
*/
|
|
|
|
class ProjectServiceContainer extends Container
|
|
|
|
{
|
|
|
|
private $parameters;
|
|
|
|
private $targetDirs = array();
|
2017-07-17 21:21:41 +01:00
|
|
|
private $privates = array();
|
2017-02-21 22:24:03 +00:00
|
|
|
|
|
|
|
public function __construct()
|
|
|
|
{
|
2017-07-17 21:21:41 +01:00
|
|
|
$this->services = $this->privates = array();
|
2017-02-21 22:24:03 +00:00
|
|
|
$this->methodMap = array(
|
2017-08-02 16:07:40 +01:00
|
|
|
'Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\TestServiceSubscriber' => 'getTestServiceSubscriberService',
|
2017-02-21 22:24:03 +00:00
|
|
|
'foo_service' => 'getFooServiceService',
|
|
|
|
);
|
|
|
|
|
|
|
|
$this->aliases = array();
|
|
|
|
}
|
|
|
|
|
2017-07-24 15:06:58 +01:00
|
|
|
public function reset()
|
|
|
|
{
|
|
|
|
$this->privates = array();
|
|
|
|
parent::reset();
|
|
|
|
}
|
|
|
|
|
2017-02-21 22:24:03 +00:00
|
|
|
public function compile()
|
|
|
|
{
|
|
|
|
throw new LogicException('You cannot compile a dumped container that was already compiled.');
|
|
|
|
}
|
|
|
|
|
|
|
|
public function isCompiled()
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2017-10-10 15:32:10 +01:00
|
|
|
public function getRemovedIds()
|
2017-02-21 22:24:03 +00:00
|
|
|
{
|
2017-10-10 15:32:10 +01:00
|
|
|
return array(
|
|
|
|
'Psr\\Container\\ContainerInterface' => true,
|
|
|
|
'Symfony\\Component\\DependencyInjection\\ContainerInterface' => true,
|
|
|
|
'Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\CustomDefinition' => true,
|
|
|
|
'service_locator.MtGsMEd' => true,
|
|
|
|
);
|
2017-02-21 22:24:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2017-07-26 08:58:57 +01:00
|
|
|
* Gets the public 'Symfony\Component\DependencyInjection\Tests\Fixtures\TestServiceSubscriber' shared service.
|
2017-02-21 22:24:03 +00:00
|
|
|
*
|
2017-07-26 08:58:57 +01:00
|
|
|
* @return \Symfony\Component\DependencyInjection\Tests\Fixtures\TestServiceSubscriber
|
2017-02-21 22:24:03 +00:00
|
|
|
*/
|
2017-08-02 16:07:40 +01:00
|
|
|
protected function getTestServiceSubscriberService()
|
2017-02-21 22:24:03 +00:00
|
|
|
{
|
2017-04-06 09:48:39 +01:00
|
|
|
return $this->services['Symfony\Component\DependencyInjection\Tests\Fixtures\TestServiceSubscriber'] = new \Symfony\Component\DependencyInjection\Tests\Fixtures\TestServiceSubscriber();
|
2017-02-21 22:24:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2017-07-26 08:58:57 +01:00
|
|
|
* Gets the public 'foo_service' shared autowired service.
|
2017-02-21 22:24:03 +00:00
|
|
|
*
|
2017-07-26 08:58:57 +01:00
|
|
|
* @return \Symfony\Component\DependencyInjection\Tests\Fixtures\TestServiceSubscriber
|
2017-02-21 22:24:03 +00:00
|
|
|
*/
|
|
|
|
protected function getFooServiceService()
|
|
|
|
{
|
2017-08-03 10:50:20 +01:00
|
|
|
return $this->services['foo_service'] = new \Symfony\Component\DependencyInjection\Tests\Fixtures\TestServiceSubscriber(new \Symfony\Component\DependencyInjection\ServiceLocator(array('Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\CustomDefinition' => function (): ?\Symfony\Component\DependencyInjection\Tests\Fixtures\CustomDefinition {
|
2017-09-04 18:33:15 +01:00
|
|
|
return ($this->privates['Symfony\Component\DependencyInjection\Tests\Fixtures\CustomDefinition'] ?? $this->privates['Symfony\Component\DependencyInjection\Tests\Fixtures\CustomDefinition'] = new \Symfony\Component\DependencyInjection\Tests\Fixtures\CustomDefinition());
|
2017-05-21 10:14:40 +01:00
|
|
|
}, 'Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\TestServiceSubscriber' => function (): \Symfony\Component\DependencyInjection\Tests\Fixtures\TestServiceSubscriber {
|
2017-09-04 18:33:15 +01:00
|
|
|
return ($this->services['Symfony\Component\DependencyInjection\Tests\Fixtures\TestServiceSubscriber'] ?? $this->services['Symfony\Component\DependencyInjection\Tests\Fixtures\TestServiceSubscriber'] = new \Symfony\Component\DependencyInjection\Tests\Fixtures\TestServiceSubscriber());
|
2017-05-21 10:14:40 +01:00
|
|
|
}, 'bar' => function (): \Symfony\Component\DependencyInjection\Tests\Fixtures\CustomDefinition {
|
2017-09-04 18:33:15 +01:00
|
|
|
return ($this->services['Symfony\Component\DependencyInjection\Tests\Fixtures\TestServiceSubscriber'] ?? $this->services['Symfony\Component\DependencyInjection\Tests\Fixtures\TestServiceSubscriber'] = new \Symfony\Component\DependencyInjection\Tests\Fixtures\TestServiceSubscriber());
|
2017-08-03 10:50:20 +01:00
|
|
|
}, 'baz' => function (): ?\Symfony\Component\DependencyInjection\Tests\Fixtures\CustomDefinition {
|
2017-09-04 18:33:15 +01:00
|
|
|
return ($this->privates['Symfony\Component\DependencyInjection\Tests\Fixtures\CustomDefinition'] ?? $this->privates['Symfony\Component\DependencyInjection\Tests\Fixtures\CustomDefinition'] = new \Symfony\Component\DependencyInjection\Tests\Fixtures\CustomDefinition());
|
2017-02-21 22:24:03 +00:00
|
|
|
})));
|
|
|
|
}
|
|
|
|
}
|