symfony-cmf / routing-auto

RoutingAuto component
https://cmf.symfony.com
Other
6 stars 11 forks source link

POC implementation of multiple routes #48

Closed dantleech closed 8 years ago

dantleech commented 9 years ago

This PR is primiminary attempt at supporting the generation of multiple routes (from schemas) for a single class.

The configuration would look as follows:

stdClass:
    extend: foo
    routes:
        route_one:
            uri_schema: /route/to/{foo]
            token_providers:
                foo: [ bar ]
        route_two:
            uri_schema: /path/to/{foo]
            token_providers:
                foo: [ bar ]

While also supporting the current format:

stdClass:
    extend: foo
    uri_schema: /route/to/{foo]
    token_providers:
        foo: [ bar ]
dantleech commented 9 years ago

Note that this is far from being in a working state.

dantleech commented 8 years ago

Replaced by #62