| 1 | <?php |
||
| 4 | abstract class AbstractFactory extends Mapping |
||
| 5 | { |
||
| 6 | /** |
||
| 7 | * |
||
| 8 | * @param array $config |
||
| 9 | * |
||
| 10 | * @return \Mcustiel\PowerRoute\InputSources\InputSourceInterface |
||
| 11 | * @throws \Exception |
||
| 12 | */ |
||
| 13 | 4 | public function createFromConfig(array $config) |
|
| 20 | |||
| 21 | 4 | private function getInstance($class, $config) |
|
| 29 | |||
| 30 | 3 | private function createInstance($className, $config, $class) |
|
| 39 | } |
||
| 40 |