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 Passing Data to Views ?

1 Answers  


What is the use of dd() function?

0 Answers  


What are the major differences between laravel 4 and laravel 5.x?

0 Answers  


Tell us do you have any experience with lamp?

0 Answers  


Provide the steps to configure laravel application?

0 Answers  


What is boot method in laravel?

0 Answers  


What are the three types of authentication?

0 Answers  


Explain me what is your favorite feature of laravel?

0 Answers  


Can you please explain the difference between laravel and codeigniter?

0 Answers  


What do you mean by laravel dusk?

0 Answers  


What do you mean by reverse routing in laravel 5?

0 Answers  


How to create custom middleware in laravel?

0 Answers  


Categories