The main benefits I see would be

* easier refactoring especially when adding new parameters
* better/earlier error detection
* more readable/concise XML files
* you don't have to repeatedly switch between XML/PHP file to make
sure the order of your arguments is correct


> Would this mean classes that use inheritance need to use the same variable 
> names as their parent class in order to be compatible with the Symfony DIC?

I don't see why we would need to enforce this. Maybe you can give an
example?

Kind regards,
Johannes

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