for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This software package is licensed under `AGPL-3.0-only, proprietary` license[s].
*
* @package maslosoft/signals
* @license AGPL-3.0-only, proprietary
* @copyright Copyright (c) Peter Maselkowski <[email protected]>
* @link https://maslosoft.com/signals/
*/
namespace Maslosoft\Signals\Application;
use Maslosoft\Signals\Application\Commands\BuildCommand;
use Maslosoft\Signals\Application\Commands\PreviewCommand;
use Maslosoft\Signals\Signal;
use Symfony\Component\Console\Application as ConsoleApplication;
* SignalsApplication
* @author Piotr Maselkowski <pmaselkowski at gmail.com>
* @codeCoverageIgnore
class Application extends ConsoleApplication
{
const Logo = <<<LOGO
_____ _ __
/ ___/(_)___ _____ ____ _/ /____
\__ \/ / __ `/ __ \/ __ `/ / ___/
___/ / / /_/ / / / / /_/ / (__ )
/____/_/\__, /_/ /_/\__,_/_/____/
/____/
LOGO;
public function __construct()
parent::__construct('Signals', (new Signal)->getVersion());
$this->add(new BuildCommand());
$this->add(new PreviewCommand());
}
public function getHelp()
return self::Logo . parent::getHelp();