Files
kiri-core/system/Console/Command.php
T
2020-08-31 12:38:32 +08:00

39 lines
503 B
PHP

<?php
namespace Snowflake\Console;
use Snowflake\Abstracts\BaseObject;
/**
* Class Command
* @package Snowflake\Console
*/
abstract class Command extends BaseObject implements CommandInterface
{
public $command = '';
public $description = '';
/**
* @return string
* 返回执行的命令名称
*/
public function getName()
{
return $this->command;
}
/**
* @return string
*
* 返回命令描述
*/
public function getDescription()
{
return $this->description;
}
}