What is meant by Implicit Controllers

Answer Posted / amit khanna

Implicit Controllers allow you to define a single route to handle every action in the controller.
You can define it in route.php file with Route:controller method as shown below.

Syntax : Route::controller(‘base URI’,’<class-name-of-the-controller>’);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to install and start, stop mysql on valet?

446


How will you explain dd() function in laravel?

449


What are policies?

406


How to check request is ajax or not?

444


How to generate urls from named named routes?

418






Explain important directories used in a common laravel application.

433


Name some inbuilt authentication controllers of laravel.

441


Is valet supports windows or ubuntu environment?

416


How to generate a request in laravel?

400


What do you know about closures in laravel?

445


In order to run laravel. What permissions are required to be on storage and the bootstrap/cache directories?

423


Explain web.php route.

430


How can you reduce memory usage in laravel?

410


Explain me active record implementation. How to use it laravel?

392


What are redirect responses?

412