The Input
class is a facade to the Request
class, as can be seen in the getFacadeAccessor()
method.
That means you should extend the Request
class instead and then make sure that is used throughout Laravel (using the IoC container).
Some docs on request extension: http://laravel.com/docs/extending#request-extension
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community