Skip to content
Snippets Groups Projects
Commit 9daa20df authored by a.croix's avatar a.croix
Browse files

Change handle method in EventListener to onLog method.

parent fc092449
No related branches found
No related tags found
1 merge request!1Include Wowa Training
Pipeline #5905 passed
......@@ -17,7 +17,7 @@ class LogTrainingEventListener implements ShouldQueue
$this->log = $log;
}
public function handle($event)
public function onLog($event)
{
$log = new Log();
$log->fill($event->records['formatted']);
......@@ -28,7 +28,7 @@ class LogTrainingEventListener implements ShouldQueue
{
$events->listen(
LogTrainingEvent::class,
'App\Listeners\LogTrainingEventListener@handle'
'App\Listeners\LogTrainingEventListener@onLog'
);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment