for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace JobQueue\Application\Manager;
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Command\ListCommand;
final class Console extends Application
{
public function __construct()
parent::__construct('manager', 1.0);
$manCommand = new ListCommand;
$manCommand->setName('man');
$this->add($manCommand);
$this->add(new ListTasks);
$this->add(new AddTask);
$this->add(new ShowTask);
$this->add(new EditTask);
$this->add(new DeleteTask);
$this->add(new RestoreTasks);
$this->add(new FlushTasks);
$this->setDefaultCommand('man');
}