BundleInterface
interface BundleInterface
BundleInterface.
Methods
void
boot()
Boots the Bundle.
void
shutdown()
Shutdowns the Bundle.
void
build(ContainerBuilder$container)
Builds 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.
void
setContainer(ContainerInterface|null$container)
No description
Details
void
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.