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