Documentation

FrameworkBundle extends Bundle
in package

Bundle.

Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

$container  : ContainerInterface|null
$extension  : mixed
$name  : mixed
$path  : mixed
$namespace  : mixed
boot()  : mixed
Boots the Bundle.
build()  : mixed
Builds the bundle.
getContainerExtension()  : ExtensionInterface|null
Returns the bundle's container extension.
getName()  : string
Returns the bundle name (the class short name).
getNamespace()  : string
Gets the Bundle namespace.
getPath()  : string
Gets the Bundle directory path.
registerCommands()  : mixed
setContainer()  : mixed
shutdown()  : mixed
Shutdowns the Bundle.
createContainerExtension()  : ExtensionInterface|null
Creates the bundle's container extension.
getContainerExtensionClass()  : string
Returns the bundle's container extension class.
addCompilerPassIfExists()  : mixed
parseClassName()  : mixed

Properties

$extension

protected mixed $extension

$namespace

private mixed $namespace

Methods

boot()

Boots the Bundle.

public boot() : mixed
Return values
mixed

getName()

Returns the bundle name (the class short name).

public final 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
Return values
string

shutdown()

Shutdowns the Bundle.

public shutdown() : mixed
Return values
mixed

getContainerExtensionClass()

Returns the bundle's container extension class.

protected getContainerExtensionClass() : string
Return values
string

addCompilerPassIfExists()

private addCompilerPassIfExists(ContainerBuilder $container, string $class[, string $type = PassConfig::TYPE_BEFORE_OPTIMIZATION ], int $priority) : mixed
Parameters
$container : ContainerBuilder
$class : string
$type : string = PassConfig::TYPE_BEFORE_OPTIMIZATION
$priority : int
Return values
mixed

parseClassName()

private parseClassName() : mixed
Return values
mixed

Search results