1 | <?php |
||
8 | class MultiServiceAwareExtender implements ServiceProviderInterface |
||
9 | { |
||
10 | /** |
||
11 | * @var ExtendServiceDefinition[] |
||
12 | */ |
||
13 | protected $extendServiceDefinitions; |
||
14 | |||
15 | /** |
||
16 | * @var string[] |
||
17 | */ |
||
18 | protected $configuredServicesHash = []; |
||
19 | |||
20 | /** |
||
21 | * @param ExtendServiceDefinition[] $extendServiceDefinitions |
||
22 | */ |
||
23 | 1 | public function __construct(array $extendServiceDefinitions) |
|
27 | |||
28 | /** |
||
29 | * @param mixed $service |
||
30 | * @param Container $container |
||
31 | * |
||
32 | * @return mixed |
||
33 | */ |
||
34 | 1 | public function __invoke($service, Container $container) |
|
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | */ |
||
55 | public function register(Container $pimple): void |
||
61 | |||
62 | /** |
||
63 | * @param object $service |
||
64 | * @param Container $container |
||
65 | */ |
||
66 | 1 | protected function configureService($service, Container $container): void |
|
77 | } |
||
78 |