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 configure clear route cache in laravel?

0 Answers  


How can you exclude uris from csrf protection in laravel?

0 Answers  


Define laravel guard.

0 Answers  


why we use Laravel - Session ?

1 Answers  


What is service provider in laravel?

0 Answers  


What does guid stand for?

0 Answers  


Explain some benefits of laravel over other php frameworks.

0 Answers  


How to return a view from route in laravel?

0 Answers  


State the difference between authentication and authorization.

0 Answers  


What are the databases laravel supports?

0 Answers  


What is official website url of laravel?

0 Answers  


What is reverse path filtering?

0 Answers  


Categories