Documentation

Configuration
in package
implements ConfigurationInterface

This class contains the configuration information for the bundle

This information is solely responsible for how the different configuration sections are normalized, and merged.

Tags
final

since 2.9

Table of Contents

Interfaces

ConfigurationInterface
Configuration interface.

Properties

$debug  : bool

Methods

__construct()  : mixed
getConfigTreeBuilder()  : TreeBuilder
Generates the configuration tree builder.
addDbalSection()  : void
Add DBAL section to configuration tree
addOrmSection()  : void
Add the ORM section to configuration tree
configureDbalDriverNode()  : void
Adds config keys related to params processed by the DBAL drivers
getAutoGenerateModes()  : array{names: list, values: list}
Find proxy auto generate modes for their names and int values
getDbalConnectionsNode()  : ArrayNodeDefinition
Return the dbal connections node
getDefaultSchemaManagerFactory()  : string
getOrmCacheDriverNode()  : ArrayNodeDefinition
Return a ORM cache driver node for an given entity manager
getOrmEntityListenersNode()  : NodeDefinition
Return ORM entity listener node
getOrmEntityManagersNode()  : ArrayNodeDefinition
Return ORM entity manager node
getOrmTargetEntityResolverNode()  : NodeDefinition
Return ORM target entity resolver node

Properties

Methods

__construct()

public __construct(bool $debug) : mixed
Parameters
$debug : bool

Whether to use the debug mode

configureDbalDriverNode()

Adds config keys related to params processed by the DBAL drivers

private configureDbalDriverNode(ArrayNodeDefinition $node) : void

These keys are available for replica configurations too.

Parameters
$node : ArrayNodeDefinition

getAutoGenerateModes()

Find proxy auto generate modes for their names and int values

private getAutoGenerateModes() : array{names: list, values: list}
Return values
array{names: list, values: list}

getDefaultSchemaManagerFactory()

private getDefaultSchemaManagerFactory() : string
Return values
string

        
On this page

Search results