mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-13 19:55:34 +08:00
26 lines
400 B
PHP
26 lines
400 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
|
||
|
|
namespace ZM\Annotation\Swoole;
|
||
|
|
|
||
|
|
|
||
|
|
use Doctrine\Common\Annotations\Annotation\Required;
|
||
|
|
use Doctrine\Common\Annotations\Annotation\Target;
|
||
|
|
use ZM\Annotation\AnnotationBase;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Class OnTick
|
||
|
|
* @package ZM\Annotation\Swoole
|
||
|
|
* @Annotation
|
||
|
|
* @Target("METHOD")
|
||
|
|
* @since 1.2
|
||
|
|
*/
|
||
|
|
class OnTick extends AnnotationBase
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* @var int
|
||
|
|
* @Required()
|
||
|
|
*/
|
||
|
|
public $tick_ms;
|
||
|
|
}
|