BundleInterface
interface BundleInterface implements ContainerAwareInterface
BundleInterface.
Methods
boot()
Boots the Bundle.
shutdown()
Shutdowns the Bundle.
ExtensionInterface|null
getContainerExtension()
Returns the container extension that should be implicitly loaded.
string
getName()
Returns the bundle name (the class short name).
string
getNamespace()
Gets the Bundle namespace.
string
getPath()
Gets the Bundle directory path.
Details
build(ContainerBuilder $container)
Builds the bundle.
It is only ever called once when the cache is empty.
ExtensionInterface|null
getContainerExtension()
Returns the container extension that should be implicitly loaded.