改名
This commit is contained in:
@@ -38,7 +38,7 @@ class OnRequest extends Callback
|
||||
/**
|
||||
* @throws Exception
|
||||
*/
|
||||
#[Aspect(InjectProperty::class)] public function init()
|
||||
public function init()
|
||||
{
|
||||
$this->event = Snowflake::app()->getEvent();
|
||||
$this->logger = Snowflake::app()->getLogger();
|
||||
|
||||
@@ -59,7 +59,7 @@ class Router extends HttpService implements RouterInterface
|
||||
* @throws ConfigException
|
||||
* 初始化函数路径
|
||||
*/
|
||||
#[Aspect(InjectProperty::class)] public function init()
|
||||
public function init()
|
||||
{
|
||||
$this->dir = Config::get('http.namespace', false, $this->dir);
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ class Shutdown extends Component
|
||||
/**
|
||||
* @throws Exception
|
||||
*/
|
||||
#[Aspect(InjectProperty::class)] public function init()
|
||||
public function init()
|
||||
{
|
||||
$this->taskDirectory = storage(null, 'pid/task');
|
||||
$this->workerDirectory = storage(null, 'pid/worker');
|
||||
|
||||
Reference in New Issue
Block a user