What is meant by Implicit Controllers

Answers were Sorted based on User's Feedback



What is meant by Implicit Controllers..

Answer / 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

What is meant by Implicit Controllers..

Answer / Dishant Vaish

In Laravel 5.5 and later versions, implicit controllers were introduced as a way to simplify the creation of new routes. When you create a new resource or controller with `make:controller` command, Laravel automatically generates an implicit controller. This means that you don't have to explicitly declare actions like index, show, store, update, and destroy in your controllers anymore, as Laravel will generate them for you based on the routes you define.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Laravel PHP Framework Interview Questions

Explain laravel echo.

1 Answers  


what is Restful Resource Controllers ?

2 Answers  


Name databases supported by laravel.

1 Answers  


What is use keyword in laravel?

1 Answers  


Which class is used to handle exceptions?

1 Answers  


Explain binding instances?

1 Answers  


What is technology service provider?

1 Answers  


What is response in laravel?

1 Answers  


Do you know what is php artisan.

1 Answers  


How to serve sites with tls on valet?

1 Answers  


are you able to laravel create-project via composer, explain how?

1 Answers  


How to generate a request in laravel?

1 Answers  


Categories