改名
This commit is contained in:
@@ -37,6 +37,7 @@ class DatabasesProviders extends Providers
|
|||||||
$event->on(Event::SERVER_WORKER_START, [$this, 'createPool']);
|
$event->on(Event::SERVER_WORKER_START, [$this, 'createPool']);
|
||||||
$event->on(Event::SERVER_TASK_START, [$this, 'createPool']);
|
$event->on(Event::SERVER_TASK_START, [$this, 'createPool']);
|
||||||
|
|
||||||
|
$event->on(Event::SERVER_BEFORE_START, [$this, 'scanModel']);
|
||||||
$event->on(Event::SERVER_WORKER_START, [$this, 'scanModel']);
|
$event->on(Event::SERVER_WORKER_START, [$this, 'scanModel']);
|
||||||
$event->on(Event::SERVER_TASK_START, [$this, 'scanModel']);
|
$event->on(Event::SERVER_TASK_START, [$this, 'scanModel']);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user