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: | public function getByType(string $className); |
22: | |
23: | |
24: | |
25: | |
26: | |
27: | public function findServiceNamesByType(string $className): array; |
28: | |
29: | |
30: | |
31: | |
32: | public function getServicesByTag(string $tagName): array; |
33: | |
34: | |
35: | |
36: | |
37: | public function getParameters(): array; |
38: | |
39: | public function hasParameter(string $parameterName): bool; |
40: | |
41: | |
42: | |
43: | |
44: | |
45: | public function getParameter(string $parameterName); |
46: | |
47: | } |
48: | |