App
This commit is contained in:
14
app/bootstrap/setups/commands.php
Normal file
14
app/bootstrap/setups/commands.php
Normal file
@ -0,0 +1,14 @@
|
||||
<?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')
|
||||
);
|
||||
}
|
||||
];
|
Reference in New Issue
Block a user