Even after two years, Symfony continues in giving me „Wow“ and „Aha“ moments. Typically these happen, when I discover things just make perfect sense :-) The Dependency Injection Container included with Symfony 2, also known as the Symfony Service Container, is probably the one component of Symfony that gave me the most magic moments.
- Did you ever create a number of similar services?
- Did the classes extend a common baseclass?
- Did they have a lot of parts of the service configuration in common?
I you answered „yes“ to both questions above, you want to learn about Abstract Parent Services.
Schreibe einen Kommentar
Du musst angemeldet sein, um einen Kommentar abzugeben.