1 | <?php |
||
24 | final class UninitialisedContextServiceEnvironment extends StaticEnvironment implements ContextServiceEnvironment |
||
25 | { |
||
26 | /** |
||
27 | * @var string[] |
||
28 | */ |
||
29 | private $contextServices = []; |
||
30 | |||
31 | /** |
||
32 | * @param string $serviceId |
||
33 | * @param string $serviceClass |
||
34 | */ |
||
35 | public function registerContextService(string $serviceId, string $serviceClass): void |
||
39 | |||
40 | /** |
||
41 | * @return array |
||
42 | */ |
||
43 | public function getContextServices(): array |
||
47 | |||
48 | /** |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | public function hasContexts(): bool |
||
55 | |||
56 | /** |
||
57 | * {@inheritdoc} |
||
58 | */ |
||
59 | public function getContextClasses(): array |
||
63 | |||
64 | /** |
||
65 | * {@inheritdoc} |
||
66 | */ |
||
67 | public function hasContextClass($class): bool |
||
71 | } |
||
72 |