for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Command;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class DatabaseCommand extends Command
{
/**
* {@inheritdoc}
*/
protected function configure()
$this
->setName('db')
->setDescription('Update database schema');
}
protected function execute(InputInterface $input, OutputInterface $output)
require __DIR__ . '/../../../app/database/index.php';
return 0;