On 26 Sty, 16:26, Fabien Potencier <fabien.potenc...@symfony-
project.com> wrote:
> On 1/26/11 4:09 PM, Bernhard Schussek wrote:
>
> > 2011/1/26 Henrik Bjornskov<[email protected]>:
> >> the config.{xml,yml,php} are DependencyInjection config files just as the
> >> ones found in the bundles. In config.yml you can then specify services and
> >> parameters. Most of the time you would change the classes and not the
> >> service definition.
>
> > The problem is that you then can't change the constructor definition, right?
>
> In that case, you can just override the definition by creating a new one.

Overriding service definition works fine.
I just wonder why overriding parameters/arguments of defined service
(for example router) is not working or I am just not doing it in
proper way.
Modify just a single parameter or adding new setter to service
definition seems a lot safer, more immune to core symfony changes.

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