mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-18 05:04:51 +08:00
22 lines
330 B
PHP
22 lines
330 B
PHP
<?php
|
|
|
|
|
|
namespace ZM\Annotation\Swoole;
|
|
|
|
use Doctrine\Common\Annotations\Annotation\Target;
|
|
use ZM\Annotation\AnnotationBase;
|
|
|
|
/**
|
|
* Class OnWorkerStart
|
|
* @package ZM\Annotation\Swoole
|
|
* @Annotation
|
|
* @Target("ALL")
|
|
*/
|
|
class OnWorkerStart extends AnnotationBase
|
|
{
|
|
/**
|
|
* @var int
|
|
*/
|
|
public $worker_id = 0;
|
|
}
|