Change controller validate helper method to behave like Laravel (#1247) (#1248)
Change controller validate helper method to behave like Laravel (#1247) (#1248)

* Change controller validate helper method to behave like Laravel (#1247)

* Set response on validation exception, which is expected by exception handler.

* Remove used import

* style conformity

* Add backwards compatibility for removed methods: extractInputFromRules and throwValidationException

* Cleanup

* code style

* Update ProvidesConvenienceMethods.php

Co-authored-by: Taylor Otwell <5d74ae093a16a00e5af127763f2dc7e13988f162@laravel.com>
laravel/lumen-framework