Skip to content

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

@emersion

Description

@emersion

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions