Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is Terminable Middleware ?



What is Terminable Middleware ?..

Answer / nafees ahmad

Terminable middleware performs some task after the response has been sent to the browser.
This can be accomplished by creating a middleware with terminate method in the middleware.
Terminable middleware should be registered with global middleware.
The terminate method will receive two arguments $request and $response.

Example : Create TerminateMiddleware by executing the below command.
"php artisan make:middleware TerminateMiddleware".

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Laravel PHP Framework Interview Questions

How to check an input value is present or not in laravel?

0 Answers  


How to know laravel version?

1 Answers  


How can you reduce memory usage in laravel?

0 Answers  


What is a service supplier?

0 Answers  


Where do you locate route files?

0 Answers  


What are the software’s included in laravel homestead?

0 Answers  


What is dd() function in laravel?

0 Answers  


Define implicit controller.

0 Answers  


Explain some benefits of laravel over other php frameworks.

0 Answers  


What is binding in laravel?

0 Answers  


What is fillable attribute in a model?

0 Answers  


What is reverse routing in laravel?

0 Answers  


Categories