@@ -36,6 +36,10 @@ discard block |
||
36 | 36 | } |
37 | 37 | |
38 | 38 | abstract protected function getServiceConfig($id) : ConfigInterface; |
39 | + |
|
40 | + /** |
|
41 | + * @param string $id |
|
42 | + */ |
|
39 | 43 | abstract protected function hasServiceConfig($id) : bool; |
40 | 44 | |
41 | 45 | public function get($id) |
@@ -74,6 +78,9 @@ discard block |
||
74 | 78 | return $this->hasServiceConfig($id); |
75 | 79 | } |
76 | 80 | |
81 | + /** |
|
82 | + * @param string $id |
|
83 | + */ |
|
77 | 84 | protected function getInstanceFromFactory($id) |
78 | 85 | { |
79 | 86 | $class = null; |