mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-06 00:05:36 +08:00
add config: swoole.max_wait_time (default 5) add constant MAIN_WORKER add getExpireTS() for LightCache fix savePersistence() bug add zm_go() to prevent errors
30 lines
498 B
PHP
30 lines
498 B
PHP
<?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 = "";
|
|
} |