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 boot()

Boots the Bundle.

Return Value

void

void shutdown()

Shutdowns the Bundle.

Return Value

void

void build(ContainerBuilder$container)

Builds the bundle.

It is only ever called once when the cache is empty.

Parameters

ContainerBuilder $container

Return Value

void

ExtensionInterface|null getContainerExtension()

Returns the container extension that should be implicitly loaded.

Return Value

ExtensionInterface|null

string getName()

Returns the bundle name (the class short name).

Return Value

string

string getNamespace()

Gets the Bundle namespace.

Return Value

string

string getPath()

Gets the Bundle directory path.

The path should always be returned as a Unix path (with /).

Return Value

string

void setContainer(ContainerInterface|null$container)

Parameters

ContainerInterface|null $container

Return Value

void