for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Wandu\Foundation\Bootstrap;
use Symfony\Component\Console\Application as SymfonyApplication;
use Wandu\Console\Dispatcher;
use Wandu\DI\ContainerInterface;
use Wandu\Foundation\Contracts\Bootstrap;
class ConsoleBootstrap implements Bootstrap
{
/** @var array */
protected $commands;
public function __construct(array $commands = [])
$this->commands = $commands;
}
/**
* {@inheritdoc}
*/
public function providers(): array
return [];
public function boot(ContainerInterface $app)
public function execute(ContainerInterface $app): int
$app->get(Dispatcher::class)->execute();
return $app->get(SymfonyApplication::class)->run();