Hi,

When you say there are routeCollections in SF2, are you talking about
Symfony/Component/Routing/RouteCollection.php ?
Isn't this class a subset of the simple routing loading mecanism (one
route = one declaration) ?

I mean, is there a way to generate multiples (REST or not) routes by
declarating only one element, like in SF1 with  sf*RouteCollection ?

Is so, can you publish the syntax please?

Thanks, and sorry if it's a dumb question.
Florian.



On 30 sep, 11:08, Fabien Potencier <fabien.potenc...@symfony-
project.com> wrote:
> On 9/29/10 3:04 PM, Kris Wallsmith wrote:
>
> > Hi pilot,
>
> > There are no route collections in Symfony2. You need to define each
> > route individually.
>
> There is route collections in Symfony2, but there is no support for REST
> route collections... yet?
>
> Fabien
>
>
>
> > Thanks,
> > Kris
>
> > --
>
> > *Kris Wallsmith* | Release Manager
> > [email protected]
> > <mailto:[email protected]>
> > Portland, Oregon USA
>
> >http://twitter.com/kriswallsmith
>
> > On Sep 29, 2010, at 4:31 AM, pilot wrote:
>
> >> in Symfony 1.X we have a group of Route Collection class like:
>
> >> sfDoctrineRouteCollection
> >> sfPropelRouteCollection
>
> >> Any body have examples for using Route Collection in Symfony2?
>
> >> --
> >> If you want to report a vulnerability issue on symfony, please send it
> >> to security at symfony-project.com <http://symfony-project.com>
>
> >> You received this message because you are subscribed to the Google
> >> Groups "symfony developers" group.
> >> To post to this group, send email to [email protected]
> >> <mailto:[email protected]>
> >> To unsubscribe from this group, send email to
> >> [email protected]
> >> <mailto:[email protected]>
> >> For more options, visit this group at
> >>http://groups.google.com/group/symfony-devs?hl=en
>
> > --
> > If you want to report a vulnerability issue on symfony, please send it
> > to security at symfony-project.com
>
> > You received this message because you are subscribed to the Google
> > Groups "symfony developers" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> >http://groups.google.com/group/symfony-devs?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to