You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
454 B
PHP
21 lines
454 B
PHP
<?php
|
|
|
|
namespace jrosset\CliProgram;
|
|
|
|
use Symfony\Component\Console\Command\Command;
|
|
|
|
/**
|
|
* A basic command
|
|
*/
|
|
class BaseCommand extends Command {
|
|
/**
|
|
* Initialize the command
|
|
*
|
|
* @param string $name The command name
|
|
* @param string ...$aliases The command aliases
|
|
*/
|
|
public function __construct (string $name, string ...$aliases) {
|
|
parent::__construct($name);
|
|
$this->setAliases($aliases);
|
|
}
|
|
} |