Fixes a bug when using closure route with custom illuminate.route.dispatcher (e.g Illuminate\Routing\ControllerDispatcher).

http://cl.ly/image/3a263s0Z2Z0t
Signed-off-by: crynobone <crynobone@gmail.com>
Make openssl and mcrypt required
[5.0] Add hasParameter function to route
Fix a few things for Pagination

Signed-off-by: Graham Campbell <graham@mineuk.com>
Add ability to auto scan routes and events in the local environment.
Add only and except to controller middle wares, DRY.
Merge pull request #6071 from GrahamCampbell/5.0-pagination

[5.0] Fix A Few Things For Pagination
Merge pull request #6064 from emmanuelgautier/master

[5.0] Add hasParameter function to route
Merge pull request #6050 from crynobone/patch/custom-dispatcher-on-closure

[5.0] Fixes A Routing Bug
Merge pull request #6051 from GrahamCampbell/5.0-ext

[5.0] Make Openssl And Mcrypt Required
Move view error binding to a service provider.
Fix a few routing issues.
Remove the extra space.
No return necessary.
Fix type hints.
Use contract.
Add Elixir versioned file finder
Cleanin up some routing.
Simplify scanners.
Use default request if necessary.