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 |
Explain service container?
What is route model binding?
What are bundles, reverse routing and the ioc container?
What is the function of die?
What is php artisan serve in laravel?
In laravel, what is fillable attribute in a model?
What is routing in laravel?
Explain the difference between laravel and codeigniter?
Explain automatic injection in laravel?
How to use updateorinsert() method in laravel query?
What is a Laravel - Encryption ?
What is an artisan? Name some common artisan commands?