1 | <?php |
||
21 | final class ResolverServiceRegistry implements ServiceRegistryInterface |
||
22 | { |
||
23 | /** |
||
24 | * @var ServiceRegistryInterface |
||
25 | */ |
||
26 | private $decoratedRegistry; |
||
27 | |||
28 | /** |
||
29 | * @var SettingsResolverInterface |
||
30 | */ |
||
31 | private $defaultResolver; |
||
32 | |||
33 | /** |
||
34 | * @param ServiceRegistryInterface $decoratedRegistry |
||
35 | * @param SettingsResolverInterface $defaultResolver |
||
36 | */ |
||
37 | public function __construct(ServiceRegistryInterface $decoratedRegistry, SettingsResolverInterface $defaultResolver) |
||
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | */ |
||
46 | public function all() |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | public function register($type, $service) |
||
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | */ |
||
62 | public function unregister($type) |
||
66 | |||
67 | /** |
||
68 | * {@inheritdoc} |
||
69 | */ |
||
70 | public function has($type) |
||
74 | |||
75 | /** |
||
76 | * {@inheritdoc} |
||
77 | */ |
||
78 | public function get($type) |
||
86 | } |
||
87 |