On 03.01.2011, at 15:40, chrisk wrote:

> I've faced a similar problem of redefining a service already specified in the 
> Symfony2 FrameworkBundle. I just added an alias in my DI Extension class, to 
> point the Symfony2 service id to my custom definition of the service (see 
> [2]). This overrides the original service definition (I don't know if this is 
> intended behavior of the DIC or a hack).
> 
> If you're interested, we can discuss our ideas and if we can join our efforts 
> to produce a more sophisticated solution.
> 
> Best regards,
> Christan
> 
> [1] https://github.com/christiankerl/WebServiceBundle
> [2] 
> https://github.com/christiankerl/WebServiceBundle/blob/master/DependencyInjection/WebServiceExtension.php#L31

cool .. just skimmed some of the code briefly.
extending the kernel seems drastic, though i havent really thought about 
alternative approaches at all yet.

you currently do not follow the Symfony2 CS:
http://docs.symfony-reloaded.org/contributing/code/standards.html

regards,
Lukas Kahwe Smith
[email protected]



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