The service container chapter itself is probably (at least) nearly content-complete. There are many other things (and service options) still to cover on the topic, however, and I think these should become a part of an advanced service container cookbook article:
- property injection
- file
- calls
- factory_class, factory_method
- configurator
- abstract
- synthetic
- scopes
- parent
- public
- alias
Some of this list may be out of date or be missing new features.
For factory_class, factory_method this service
service id="doctrine.dbal.connection" class="%doctrine.dbal.connection.class%" factory-service="doctrine.dbal.connection_factory" factory-method="createConnection" abstract="true" /
from DoctrineBundle might be a good example.
Additionally, I did "public", "alias", "file" today.
parent / abstract might belong together.
I don't know what synthetic is for or how scopes work, so I'd have to dig into that first - if anyone has got some free time, feel free to write it.