| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class DbVersionRepositoryFactory |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var ServiceLocator |
||
| 15 | */ |
||
| 16 | private $prime; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * PrimeFactory constructor. |
||
| 20 | */ |
||
| 21 | 1 | public function __construct(ServiceLocator $prime) |
|
| 22 | { |
||
| 23 | 1 | $this->prime = $prime; |
|
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Create the repository instance. |
||
| 28 | */ |
||
| 29 | 1 | public function create(string $tableName, string $connection = null): DbVersionRepository |
|
| 32 | } |
||
| 33 | } |
||
| 34 |