I write one observer called userObserver.php and I write one task file called DeleteTask.php which contains DB queries , now I want to make a link with the observer to the DeletTask.php file
CodePudding user response:
In laravel documentation it's mentioned observer is applied for models only.