zhamao-framework/src/ZM/Annotation/Command/TerminalCommand.php

30 lines
498 B
PHP
Raw Normal View History

<?php
namespace ZM\Annotation\Command;
use Doctrine\Common\Annotations\Annotation\Required;
use Doctrine\Common\Annotations\Annotation\Target;
use ZM\Annotation\AnnotationBase;
/**
* Class TerminalCommand
* @package ZM\Annotation\Command
* @Annotation
* @Target("METHOD")
*/
class TerminalCommand extends AnnotationBase
{
/**
* @var string
* @Required()
*/
public $command;
public $alias = '';
/**
* @var string
*/
public $description = "";
}