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