FrameworkBundle
        
        extends Bundle
    
    
            
            in package
            
        
    
    
    
        
            Bundle.
Tags
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
$container
    protected
        ContainerInterface|null
    $container
    
    
    
    
$extension
    protected
        mixed
    $extension
    
        
        
    
$name
    protected
        mixed
    $name
    
        
        
    
$path
    protected
        mixed
    $path
    
        
        
    
$namespace
    private
        mixed
    $namespace
    
        
        
    
Methods
boot()
Boots the Bundle.
    public
                boot() : mixed
    
    
    
        Return values
mixed —build()
Builds the bundle.
    public
                build(ContainerBuilder $container) : mixed
        This method can be overridden to register compilation passes, other extensions, ...
Parameters
- $container : ContainerBuilder
 
Return values
mixed —getContainerExtension()
Returns the bundle's container extension.
    public
                getContainerExtension() : ExtensionInterface|null
    
    
    
    Tags
Return values
ExtensionInterface|null —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 —registerCommands()
    public
                registerCommands(Application $application) : mixed
        
        Parameters
- $application : Application
 
Return values
mixed —setContainer()
    public
                setContainer([ContainerInterface|null $container = null ]) : mixed
        
        Parameters
- $container : ContainerInterface|null = null
 
Return values
mixed —shutdown()
Shutdowns the Bundle.
    public
                shutdown() : mixed
    
    
    
        Return values
mixed —createContainerExtension()
Creates the bundle's container extension.
    protected
                createContainerExtension() : ExtensionInterface|null
    
    
    
        Return values
ExtensionInterface|null —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