On 26 Sty, 15:50, Henrik Bjornskov <[email protected]> wrote:
> 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.

Yes, thats how I try to do this but in example in my first post I am
not able to change router.class parameter without defining/overwriting
entire router service.
For example I define in config.yml:

parameters:
    hello.email.from: [email protected]
    router.options.generator_class: Application\HelloBundle\Route
\UrlGenerator

or/and in hello.xml which is config for HelloBundle extension:

<parameters>
    <parameter key="router.options.generator_class">Application
\HelloBundle\Route\UrlGenerator</parameter>
</parameters>

but this new parameter is not working for router service. I am forced
to define entire service again, then new parameter value works.

thats my issue

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