for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* neuralyzer : Data Anonymization Library and CLI Tool
*
* PHP Version 7.1
* @author Emmanuel Dyan
* @author Rémi Sauvat
* @copyright 2018 Emmanuel Dyan
* @package edyan/neuralyzer
* @license GNU General Public License v2.0
* @link https://github.com/edyan/neuralyzer
*/
namespace Edyan\Neuralyzer\Console;
use Symfony\Component\Console\Application as BaseApplication;
* Run console application.
class Application extends BaseApplication
{
const VERSION = 'v3.0.0';
* Init commands
* @return Command[] An array of default Command instances
public function getDefaultCommands()
$commands = parent::getDefaultCommands();
$commands[] = new \Edyan\Neuralyzer\Console\Commands\RunCommand();
$commands[] = new \Edyan\Neuralyzer\Console\Commands\ConfigExampleCommand();
$commands[] = new \Edyan\Neuralyzer\Console\Commands\ConfigGenerateCommand();
$commands[] = new \Edyan\Neuralyzer\Console\Commands\ConfigValidateCommand();
return $commands;
}