Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | abstract class Base implements FactoryInterface |
||
20 | { |
||
21 | protected $serviceLocator; |
||
22 | |||
23 | protected $instanceName; |
||
24 | |||
25 | /** |
||
26 | * Base constructor. |
||
27 | * @param ServiceLocatorInterface $serviceLocator |
||
28 | * @param string $instanceName |
||
29 | */ |
||
30 | public function __construct( |
||
31 | ServiceLocatorInterface $serviceLocator, |
||
32 | string $instanceName |
||
33 | ) { |
||
34 | $this->serviceLocator = $serviceLocator; |
||
35 | $this->instanceName = $instanceName; |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @inheritDoc |
||
40 | */ |
||
41 | public function create(array $data = []) |
||
44 | } |
||
45 | } |
||
46 |