mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-18 05:04:51 +08:00
31 lines
490 B
PHP
31 lines
490 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace ZM\Annotation\Command;
|
|
|
|
use Doctrine\Common\Annotations\Annotation\Required;
|
|
use Doctrine\Common\Annotations\Annotation\Target;
|
|
use ZM\Annotation\AnnotationBase;
|
|
|
|
/**
|
|
* Class TerminalCommand
|
|
* @Annotation
|
|
* @Target("METHOD")
|
|
*/
|
|
class TerminalCommand extends AnnotationBase
|
|
{
|
|
/**
|
|
* @var string
|
|
* @Required()
|
|
*/
|
|
public $command;
|
|
|
|
public $alias = '';
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $description = '';
|
|
}
|