Added the Search API Synonym module to deal specifically with licence and license...
[yaffs-website] / vendor / symfony / dependency-injection / Tests / Fixtures / php / services33.php
1 <?php
2
3 use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
4 use Symfony\Component\DependencyInjection\ContainerInterface;
5 use Symfony\Component\DependencyInjection\Container;
6 use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
7 use Symfony\Component\DependencyInjection\Exception\LogicException;
8 use Symfony\Component\DependencyInjection\Exception\RuntimeException;
9 use Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag;
10
11 /**
12  * This class has been auto-generated
13  * by the Symfony Dependency Injection Component.
14  *
15  * @final since Symfony 3.3
16  */
17 class ProjectServiceContainer extends Container
18 {
19     private $parameters;
20     private $targetDirs = array();
21
22     public function __construct()
23     {
24         $this->services = array();
25         $this->normalizedIds = array(
26             'bar\\foo' => 'Bar\\Foo',
27             'foo\\foo' => 'Foo\\Foo',
28         );
29         $this->methodMap = array(
30             'Bar\\Foo' => 'getFooService',
31             'Foo\\Foo' => 'getFoo2Service',
32         );
33
34         $this->aliases = array();
35     }
36
37     public function getRemovedIds()
38     {
39         return array(
40             'Psr\\Container\\ContainerInterface' => true,
41             'Symfony\\Component\\DependencyInjection\\ContainerInterface' => true,
42         );
43     }
44
45     public function compile()
46     {
47         throw new LogicException('You cannot compile a dumped container that was already compiled.');
48     }
49
50     public function isCompiled()
51     {
52         return true;
53     }
54
55     public function isFrozen()
56     {
57         @trigger_error(sprintf('The %s() method is deprecated since Symfony 3.3 and will be removed in 4.0. Use the isCompiled() method instead.', __METHOD__), E_USER_DEPRECATED);
58
59         return true;
60     }
61
62     /**
63      * Gets the public 'Bar\Foo' shared service.
64      *
65      * @return \Bar\Foo
66      */
67     protected function getFooService()
68     {
69         return $this->services['Bar\Foo'] = new \Bar\Foo();
70     }
71
72     /**
73      * Gets the public 'Foo\Foo' shared service.
74      *
75      * @return \Foo\Foo
76      */
77     protected function getFoo2Service()
78     {
79         return $this->services['Foo\Foo'] = new \Foo\Foo();
80     }
81 }