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

Change onLog to handle in EventListener

parent 8442bc02
No related branches found
No related tags found
1 merge request!1Include Wowa Training
Pipeline #5908 failed
......@@ -17,7 +17,7 @@ class LogTrainingEventListener implements ShouldQueue
$this->log = $log;
}
public function onLog($event)
public function handle($event)
{
$log = new Log();
$log->fill($event->records['formatted']);
......@@ -28,7 +28,7 @@ class LogTrainingEventListener implements ShouldQueue
{
$events->listen(
LogTrainingEvent::class,
'App\Listeners\LogTrainingEventListener@onLog'
'App\Listeners\LogTrainingEventListener@handle'
);
}
}
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