WebpackEncoreBundle
extends Bundle
in package
FinalYes
An implementation of BundleInterface that adds a few conventions for DependencyInjection extensions.
Table of Contents
Properties
- $container : ContainerInterface
- $extension : mixed
- $name : mixed
- $path : mixed
- $namespace : string
Methods
- 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.
- parseClassName() : mixed
Properties
$container
protected
ContainerInterface
$container
$extension
protected
mixed
$extension
$name
protected
mixed
$name
$path
protected
mixed
$path
$namespace
private
string
$namespace
Methods
boot()
Boots the Bundle.
public
boot() : mixed
build()
Builds the bundle.
public
build(ContainerBuilder $container) : mixed
This method can be overridden to register compilation passes, other extensions, ...
Parameters
- $container : ContainerBuilder
getContainerExtension()
Returns the bundle's container extension.
public
getContainerExtension() : ExtensionInterface|null
Tags
Return values
ExtensionInterface|nullgetName()
Returns the bundle name (the class short name).
public
final getName() : string
Return values
stringgetNamespace()
Gets the Bundle namespace.
public
getNamespace() : string
Return values
stringgetPath()
Gets the Bundle directory path.
public
getPath() : string
Return values
stringregisterCommands()
public
registerCommands(Application $application) : mixed
Parameters
- $application : Application
setContainer()
public
setContainer([ContainerInterface $container = null ]) : mixed
Parameters
- $container : ContainerInterface = null
shutdown()
Shutdowns the Bundle.
public
shutdown() : mixed
createContainerExtension()
Creates the bundle's container extension.
protected
createContainerExtension() : ExtensionInterface|null
Return values
ExtensionInterface|nullgetContainerExtensionClass()
Returns the bundle's container extension class.
protected
getContainerExtensionClass() : string
Return values
stringparseClassName()
private
parseClassName() : mixed