what is meant by Listeners ?
Answer / rajani
Listeners handle all the activities mentioned in an event that is being registered.
The artisan command event:generate creates all the listeners in the app/listeners directory.
The Listeners folder includes a file EventListener.php which has all the methods required for handling listeners.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is your favorite feature of laravel?
What are the requirements to install valet?
Is it easy to learn laravel?
What is dd() function in laravel?
What is trait in laravel?
Do you know how to use delete statement in laravel?
How to pass multiple variables by controller to blade file?
What is the use of the eloquent cursor() method in laravel?
How to create view Laravel - File Uploading ?
What are view creators?
What are events in laravel?
What is database seeding in laravel?