Answer Posted / 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 |
Post New Answer View All Answers
What is mvc framework?
Why we use csrf token in laravel?
What is validation in laravel and how it is used?
Why laravel over other php frameworks?
What are the difference between laravel 5 & laravel 4?
What is a pull() ?
What are the difference between latest() and oldest() in laravel?
Where can I learn laravel?
Define lumen.
What is the difference between print_r and var_dump?
How do laravel facades work?
Explain laravel’s service container?
What service provider’s register method does?
Explain, how to get current environment in laravel 5?
What is homestead.yaml?