wrong, you can ask Doctrine if a class is managed generically.

Problem would only be how to know by which entity or document manager it
is mapped at all.

On Tue, 18 Jan 2011 10:43:32 -0500, Jeremy Mikola <[email protected]>
wrote:
> On Mon, Jan 17, 2011 at 4:19 PM, Bulat Shakirzyanov
> <[email protected]>wrote:
> 
>>
>>    - Because the parameter is chosen based on the typehint, in Doctrine
>>    document case, *I think*, you would have to define your own
parameter
>>    converter, or modify the one you have with introduction of every new
>>    class,
>>    so that your supports statement returns true at all times
>>
>>
> This point seems like a shortcoming of the current implementation.  If
our
> Doctrine models are now POPO's and no longer have a base class in
common, I
> don't see any way to recreate object routing as it existed in Symfony1. 
We
> would need an explicit parameter converter for each model, correct?
> 
> -- 
> jeremy mikola

-- 
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