Maslosoft Signals API
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
<?php
/**
* This software package is licensed under `AGPL, Commercial` license[s].
*
* @package maslosoft/signals
* @license AGPL, Commercial
*
* @copyright Copyright (c) Peter Maselkowski <pmaselkowski@gmail.com>
* @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();
}
}
API documentation generated by ApiGen