Closed jackmcdade closed 11 years ago
In SlimPHP I can do the following:
$app->map('/(:segments+)', function ($segments = array()) use ($app) {
To grab the entirety of the url segments and route them with a closure/controller. Can this be done in 4? If not, would something like this be considered?
It can be done:
Route::get('foo/{segments}', function() {})->where('segments', '(.*)');
In SlimPHP I can do the following:
To grab the entirety of the url segments and route them with a closure/controller. Can this be done in 4? If not, would something like this be considered?