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

Tell me why laravel over other php frameworks?

0 Answers  


What is eloquent?

0 Answers  


How will you register service providers?

0 Answers  


Where do you locate database configuration file?

1 Answers  


What is laracasts?

0 Answers  


what is meant by Global Middleware and Route Middleware ?

1 Answers  


What is automatic injection in laravel?

0 Answers  


Tell me does laravel support php 7?

0 Answers  


What is laravel service container?

0 Answers  


Explain how to do 301 redirects in laravel?

0 Answers  


How to get current environment in laravel?

0 Answers  


What is laravel best for?

0 Answers  


Categories