Files
compose-manager/app/bootstrap/setups/commands.php
2024-08-22 19:49:44 -04:00

15 lines
547 B
PHP

<?php
use Psr\Container\ContainerInterface;
return [
ProVM\ComposeManager\Command\Create::class => function(ContainerInterface $container) {
return new ProVM\ComposeManager\Command\Create($container->get('ROOT'), $container->get('OUTPUT'));
},
Symfony\Component\Console\CommandLoader\CommandLoaderInterface::class => function(ContainerInterface $container) {
return new Symfony\Component\Console\CommandLoader\ContainerCommandLoader(
$container,
$container->get('commands')
);
}
];