Class

eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\Parser\Common

class Common extends AbstractParser implements SuggestionCollectorAwareInterface

Configuration parser handling all basic configuration (aka "common").

Methods

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.

from AbstractParser
addSemanticConfig(NodeBuilder $nodeBuilder)

Adds semantic configuration definition.

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

setSuggestionCollector(SuggestionCollectorInterface $suggestionCollector)

Injects SuggestionCollector.

Details

at line 148
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

in AbstractParser at line 43
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

See also

ConfigurationProcessor::mapConfig()
ContextualizerInterface::mapConfigArray()

at line 33
public addSemanticConfig(NodeBuilder $nodeBuilder)

Adds semantic configuration definition.

Parameters

NodeBuilder $nodeBuilder Node just under ezpublish.system.

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

Parameters

array $scopeSettings
$currentScope
ContextualizerInterface $contextualizer

at line 220
public setSuggestionCollector(SuggestionCollectorInterface $suggestionCollector)

Injects SuggestionCollector.

Parameters

SuggestionCollectorInterface $suggestionCollector