I\'m trying to understand how the middleware works in Laravel. Here\'s my class can any one explain how does its works.?
Middleware main objective is to restrict the unwanted action and here you can check the user given input values and you can allow is valid only.