for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Genkgo\Srvcleaner\Console;
use Genkgo\Srvcleaner\Command\CleanCommand;
use Genkgo\Srvcleaner\Srvcleaner;
use Symfony\Component\Console\Application as BaseApplication;
use Symfony\Component\Console\Command\Command;
/**
* Class Application
* @package Genkgo\Srvcleaner\Console
*/
class Application extends BaseApplication
{
*
public function __construct()
parent::__construct('Srvcleaner', Srvcleaner::VERSION);
}
* @return Command[]
protected function getDefaultCommands()
$commands = parent::getDefaultCommands();
$commands[] = new CleanCommand();
return $commands;