modify
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace Annotation;
|
||||
|
||||
|
||||
/**
|
||||
* Class Target
|
||||
* @package Annotation
|
||||
*/
|
||||
#[\Attribute(\Attribute::TARGET_CLASS)] class Target
|
||||
{
|
||||
|
||||
}
|
||||
@@ -3,7 +3,7 @@ declare(strict_types=1);
|
||||
|
||||
namespace HttpServer\Events;
|
||||
|
||||
use co;
|
||||
use Annotation\Target;
|
||||
use Exception;
|
||||
use HttpServer\Abstracts\Callback;
|
||||
use Snowflake\Abstracts\Config;
|
||||
@@ -18,6 +18,7 @@ use Swoole\Server;
|
||||
* Class OnWorkerStart
|
||||
* @package HttpServer\Events
|
||||
*/
|
||||
#[Target]
|
||||
class OnWorkerStart extends Callback
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user