1: | <?php declare(strict_types = 1); |
2: | |
3: | namespace PHPStan\DependencyInjection; |
4: | |
5: | |
6: | interface Container |
7: | { |
8: | |
9: | public function hasService(string $serviceName): bool; |
10: | |
11: | |
12: | |
13: | |
14: | public function getService(string $serviceName); |
15: | |
16: | |
17: | |
18: | |
19: | |
20: | |
21: | |
22: | public function getByType(string $className); |
23: | |
24: | |
25: | |
26: | |
27: | |
28: | public function findServiceNamesByType(string $className): array; |
29: | |
30: | |
31: | |
32: | |
33: | public function getServicesByTag(string $tagName): array; |
34: | |
35: | |
36: | |
37: | |
38: | public function getParameters(): array; |
39: | |
40: | public function hasParameter(string $parameterName): bool; |
41: | |
42: | |
43: | |
44: | |
45: | |
46: | public function getParameter(string $parameterName); |
47: | |
48: | } |
49: | |