18 lines
723 B
PHP
18 lines
723 B
PHP
![]() |
<?php
|
||
|
use Psr\Container\ContainerInterface;
|
||
|
|
||
|
return [
|
||
|
ProVM\Generator\Migration::class => function(ContainerInterface $container) {
|
||
|
return new ProVM\Generator\Migration(
|
||
|
$container->get(ProVM\Concept\Database\Connection::class),
|
||
|
$container->get(ProVM\Concept\Database::class),
|
||
|
$container->get(ProVM\Concept\Database\Query\Builder::class),
|
||
|
$container->get(ProVM\Repository\Table::class),
|
||
|
$container->get(Psr\Log\LoggerInterface::class),
|
||
|
new DateTimeImmutable($container->get('start_date')),
|
||
|
$container->get('DB_DATABASE'),
|
||
|
$container->get('paths.migrations'),
|
||
|
$container->get('skips')
|
||
|
);
|
||
|
}
|
||
|
];
|