mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-20 07:05:35 +08:00
initial 2.0.0-a4 commit
This commit is contained in:
@@ -201,6 +201,7 @@ class AnnotationParser
|
||||
$array[0]['method'] = $method;
|
||||
$array[0]['class'] = $class;
|
||||
$array[0]['request_method'] = $vss->request_method;
|
||||
$array[0]['route'] = $vss->route;
|
||||
$this->req_mapping = $array;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -10,12 +10,12 @@ use ZM\Annotation\Interfaces\Level;
|
||||
use ZM\Annotation\Interfaces\Rule;
|
||||
|
||||
/**
|
||||
* Class SwooleEvent
|
||||
* Class OnSwooleEvent
|
||||
* @Annotation
|
||||
* @Target("ALL")
|
||||
* @package ZM\Annotation\Swoole
|
||||
*/
|
||||
class SwooleEvent extends AnnotationBase implements Rule, Level
|
||||
class OnSwooleEvent extends AnnotationBase implements Rule, Level
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
Reference in New Issue
Block a user