Documentation

BundleInterface extends ContainerAwareInterface

BundleInterface.

Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

boot()  : mixed
Boots the Bundle.
build()  : mixed
Builds the bundle.
getContainerExtension()  : ExtensionInterface|null
Returns the container extension that should be implicitly loaded.
getName()  : string
Returns the bundle name (the class short name).
getNamespace()  : string
Gets the Bundle namespace.
getPath()  : string
Gets the Bundle directory path.
setContainer()  : mixed
Sets the container.
shutdown()  : mixed
Shutdowns the Bundle.

Methods

boot()

Boots the Bundle.

public boot() : mixed
Return values
mixed

getName()

Returns the bundle name (the class short name).

public getName() : string
Return values
string

getNamespace()

Gets the Bundle namespace.

public getNamespace() : string
Return values
string

getPath()

Gets the Bundle directory path.

public getPath() : string

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

Return values
string

shutdown()

Shutdowns the Bundle.

public shutdown() : mixed
Return values
mixed

Search results