mediatekformation

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.

Interfaces, Classes, Traits and Enums

ConfigurationInterface
Configuration interface.

Table of Contents

$debug  : bool
__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<string|int, mixed>
Find proxy auto generate modes for their names and int values
getDbalConnectionsNode()  : ArrayNodeDefinition
Return the dbal connections node
getDeprecationMsg()  : array<string|int, mixed>
Returns the correct deprecation param's as an array for setDeprecated.
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

Return values
mixed

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
Return values
void

getAutoGenerateModes()

Find proxy auto generate modes for their names and int values

private getAutoGenerateModes() : array<string|int, mixed>
Return values
array<string|int, mixed>

getDeprecationMsg()

Returns the correct deprecation param's as an array for setDeprecated.

private getDeprecationMsg(string $message, string $version) : array<string|int, mixed>

Symfony/Config v5.1 introduces a deprecation notice when calling setDeprecation() with less than 3 args and the getDeprecation method was introduced at the same time. By checking if getDeprecation() exists, we can determine the correct param count to use when calling setDeprecated.

Parameters
$message : string
$version : string
Return values
array<string|int, mixed>

Search results