Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be able to provide a Route object when using $app->route() #236

Closed
emersion opened this issue Sep 20, 2014 · 1 comment
Closed

Be able to provide a Route object when using $app->route() #236

emersion opened this issue Sep 20, 2014 · 1 comment

Comments

@emersion
Copy link

Be able to do something like:

$route = new Route('/{any}', array(), array('any' => '.*'));
$app->route($route, $server);

Custom route rules like regular expressions are not supported for now. A little patch in App can fix that. I already implemented it, but I would like to have your advice.

@cboden
Copy link
Member

cboden commented Dec 30, 2014

Closing in favour of discussing in #239

@cboden cboden closed this as completed Dec 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants