Class

eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\ConfigParser

class ConfigParser implements ParserInterface

Main configuration parser/mapper.

It acts as a proxy to inner parsers.

Methods

__construct(array $configParsers = array())

setConfigParsers(ParserInterface[] $configParsers)

ParserInterface[] getConfigParsers()

mapConfig(array $scopeSettings, $currentScope, ContextualizerInterface $contextualizer)

mixed preMap(array $config, ContextualizerInterface $contextualizer)

This method is called by the ConfigurationProcessor before looping over available scopes.

mixed postMap(array $config, ContextualizerInterface $contextualizer)

This method is called by the ConfigurationProcessor after looping over available scopes.

addSemanticConfig(NodeBuilder $nodeBuilder)

Adds semantic configuration definition.

Details

at line 26
public __construct(array $configParsers = array())

Parameters

array $configParsers

at line 44
public setConfigParsers(ParserInterface[] $configParsers)

Parameters

ParserInterface[] $configParsers

at line 52
public ParserInterface[] getConfigParsers()

Return Value

ParserInterface[]

at line 57
public mapConfig(array $scopeSettings, $currentScope, ContextualizerInterface $contextualizer)

Parameters

array $scopeSettings
$currentScope
ContextualizerInterface $contextualizer

at line 64
public mixed preMap(array $config, ContextualizerInterface $contextualizer)

This method is called by the ConfigurationProcessor before looping over available scopes.

You may here use $contextualizer->mapConfigArray().

Parameters

array $config Complete parsed semantic configuration
ContextualizerInterface $contextualizer

Return Value

mixed

at line 71
public mixed postMap(array $config, ContextualizerInterface $contextualizer)

This method is called by the ConfigurationProcessor after looping over available scopes.

You may here use $contextualizer->mapConfigArray().

Parameters

array $config Complete parsed semantic configuration
ContextualizerInterface $contextualizer

Return Value

mixed

at line 78
public addSemanticConfig(NodeBuilder $nodeBuilder)

Adds semantic configuration definition.

Parameters

NodeBuilder $nodeBuilder Node just under ezpublish.system.