codeguy/Slim — Issue #213: Allow wildcard "*" characters in route patterns
Author: codeguy
Created: 2012-01-08 04:57:16+00:00
State: open
Labels: Priority - Medium, Type - New Feature

All URL segments captured by each "*" will be an array argument.

$app->get('/books/:author/*/category/:category', function ($author, $splat, $category) {});

If the route above is requested with URI **/books/Clive+Cussler/and/in/category/adventure**, the `$splat` argument will equal `array('and', 'in')`.