ContainerBuilder
class ContainerBuilder (View source)
Class that provides convenience functionality for setting up containers.
Methods
__construct()
ContainerBuilder constructor.
getContainer()
Returns the container that is being built.
void
registerConfiguration(array $configuration)
Registers an array with identifier value pairs to the container as mixed entries.
void
registerProvider(EntryProvider $provider)
Registers the given provider as a callable and applicable methods as provider methods.
void
registerAutowiredClasses(array $classes, array $overrides = [])
Registers classes that can be wired automatically based on constructor arguments.
Details
at line 26
__construct()
ContainerBuilder constructor.
at line 45
void
registerConfiguration(array $configuration)
Registers an array with identifier value pairs to the container as mixed entries.
at line 57
void
registerProvider(EntryProvider $provider)
Registers the given provider as a callable and applicable methods as provider methods.
at line 74
void
registerAutowiredClasses(array $classes, array $overrides = [])
Registers classes that can be wired automatically based on constructor arguments.