Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[yaffs-website] / vendor / symfony / dependency-injection / Tests / Fixtures / php / services_adawson.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             'app\\bus' => 'App\\Bus',
27             'app\\db' => 'App\\Db',
28             'app\\handler1' => 'App\\Handler1',
29             'app\\handler2' => 'App\\Handler2',
30             'app\\processor' => 'App\\Processor',
31             'app\\registry' => 'App\\Registry',
32             'app\\schema' => 'App\\Schema',
33         );
34         $this->methodMap = array(
35             'App\\Bus' => 'getBusService',
36             'App\\Db' => 'getDbService',
37             'App\\Handler1' => 'getHandler1Service',
38             'App\\Handler2' => 'getHandler2Service',
39             'App\\Processor' => 'getProcessorService',
40             'App\\Registry' => 'getRegistryService',
41             'App\\Schema' => 'getSchemaService',
42         );
43         $this->privates = array(
44             'App\\Handler1' => true,
45             'App\\Handler2' => true,
46             'App\\Processor' => true,
47             'App\\Registry' => true,
48             'App\\Schema' => true,
49         );
50
51         $this->aliases = array();
52     }
53
54     public function getRemovedIds()
55     {
56         return array(
57             'App\\Handler1' => true,
58             'App\\Handler2' => true,
59             'App\\Processor' => true,
60             'App\\Registry' => true,
61             'App\\Schema' => true,
62             'Psr\\Container\\ContainerInterface' => true,
63             'Symfony\\Component\\DependencyInjection\\ContainerInterface' => true,
64         );
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 isFrozen()
78     {
79         @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);
80
81         return true;
82     }
83
84     /**
85      * Gets the public 'App\Bus' shared service.
86      *
87      * @return \App\Bus
88      */
89     protected function getBusService()
90     {
91         $this->services['App\Bus'] = $instance = new \App\Bus(${($_ = isset($this->services['App\Db']) ? $this->services['App\Db'] : $this->getDbService()) && false ?: '_'});
92
93         $instance->handler1 = ${($_ = isset($this->services['App\Handler1']) ? $this->services['App\Handler1'] : $this->getHandler1Service()) && false ?: '_'};
94         $instance->handler2 = ${($_ = isset($this->services['App\Handler2']) ? $this->services['App\Handler2'] : $this->getHandler2Service()) && false ?: '_'};
95
96         return $instance;
97     }
98
99     /**
100      * Gets the public 'App\Db' shared service.
101      *
102      * @return \App\Db
103      */
104     protected function getDbService()
105     {
106         $this->services['App\Db'] = $instance = new \App\Db();
107
108         $instance->schema = ${($_ = isset($this->services['App\Schema']) ? $this->services['App\Schema'] : $this->getSchemaService()) && false ?: '_'};
109
110         return $instance;
111     }
112
113     /**
114      * Gets the private 'App\Handler1' shared service.
115      *
116      * @return \App\Handler1
117      */
118     protected function getHandler1Service()
119     {
120         $a = ${($_ = isset($this->services['App\Processor']) ? $this->services['App\Processor'] : $this->getProcessorService()) && false ?: '_'};
121
122         if (isset($this->services['App\Handler1'])) {
123             return $this->services['App\Handler1'];
124         }
125
126         return $this->services['App\Handler1'] = new \App\Handler1(${($_ = isset($this->services['App\Db']) ? $this->services['App\Db'] : $this->getDbService()) && false ?: '_'}, ${($_ = isset($this->services['App\Schema']) ? $this->services['App\Schema'] : $this->getSchemaService()) && false ?: '_'}, $a);
127     }
128
129     /**
130      * Gets the private 'App\Handler2' shared service.
131      *
132      * @return \App\Handler2
133      */
134     protected function getHandler2Service()
135     {
136         return $this->services['App\Handler2'] = new \App\Handler2(${($_ = isset($this->services['App\Db']) ? $this->services['App\Db'] : $this->getDbService()) && false ?: '_'}, ${($_ = isset($this->services['App\Schema']) ? $this->services['App\Schema'] : $this->getSchemaService()) && false ?: '_'}, ${($_ = isset($this->services['App\Processor']) ? $this->services['App\Processor'] : $this->getProcessorService()) && false ?: '_'});
137     }
138
139     /**
140      * Gets the private 'App\Processor' shared service.
141      *
142      * @return \App\Processor
143      */
144     protected function getProcessorService()
145     {
146         $a = ${($_ = isset($this->services['App\Registry']) ? $this->services['App\Registry'] : $this->getRegistryService()) && false ?: '_'};
147
148         if (isset($this->services['App\Processor'])) {
149             return $this->services['App\Processor'];
150         }
151
152         return $this->services['App\Processor'] = new \App\Processor($a, ${($_ = isset($this->services['App\Db']) ? $this->services['App\Db'] : $this->getDbService()) && false ?: '_'});
153     }
154
155     /**
156      * Gets the private 'App\Registry' shared service.
157      *
158      * @return \App\Registry
159      */
160     protected function getRegistryService()
161     {
162         $this->services['App\Registry'] = $instance = new \App\Registry();
163
164         $instance->processor = array(0 => ${($_ = isset($this->services['App\Db']) ? $this->services['App\Db'] : $this->getDbService()) && false ?: '_'}, 1 => ${($_ = isset($this->services['App\Bus']) ? $this->services['App\Bus'] : $this->getBusService()) && false ?: '_'});
165
166         return $instance;
167     }
168
169     /**
170      * Gets the private 'App\Schema' shared service.
171      *
172      * @return \App\Schema
173      */
174     protected function getSchemaService()
175     {
176         $a = ${($_ = isset($this->services['App\Db']) ? $this->services['App\Db'] : $this->getDbService()) && false ?: '_'};
177
178         if (isset($this->services['App\Schema'])) {
179             return $this->services['App\Schema'];
180         }
181
182         return $this->services['App\Schema'] = new \App\Schema($a);
183     }
184 }