1 | <?php |
||
17 | final class ContextRegistry |
||
18 | { |
||
19 | /** |
||
20 | * @var array |
||
21 | */ |
||
22 | private $registry; |
||
23 | |||
24 | /** |
||
25 | * @param string $serviceId |
||
26 | * @param string $serviceClass |
||
27 | */ |
||
28 | public function add($serviceId, $serviceClass) |
||
32 | |||
33 | /** |
||
34 | * @param string $serviceId |
||
35 | * |
||
36 | * @return string |
||
37 | * |
||
38 | * @throws \InvalidArgumentException |
||
39 | */ |
||
40 | public function getClass($serviceId) |
||
51 | } |
||
52 |