Total Complexity | 5 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Coverage | 71.43% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class PrimeConfigurator |
||
9 | { |
||
10 | /** |
||
11 | * @var ContainerInterface |
||
12 | */ |
||
13 | private $container; |
||
14 | |||
15 | /** |
||
16 | * PrimeFactory constructor. |
||
17 | * |
||
18 | * @param ContainerInterface $container |
||
19 | */ |
||
20 | 8 | public function __construct(ContainerInterface $container) |
|
21 | { |
||
22 | 8 | $this->container = $container; |
|
23 | 8 | } |
|
24 | |||
25 | /** |
||
26 | * Create the repository instance |
||
27 | */ |
||
28 | 8 | public function configurePrime(ServiceLocator $service) |
|
34 | } |
||
35 | 8 | } |
|
36 | |||
37 | /** |
||
38 | * Create the repository instance |
||
39 | */ |
||
40 | 8 | private function configureHydrator(ServiceLocator $service, string $loader) |
|
49 | } |
||
50 | } |
||
51 | } |