Class

eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\Parser\Image

class Image extends AbstractParser implements SuggestionCollectorAwareInterface

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

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
setSuggestionCollector(SuggestionCollectorInterface $suggestionCollector)

Injects SuggestionCollector.

addSemanticConfig(NodeBuilder $nodeBuilder)

Adds semantic configuration definition.

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

Details

at line 121
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 28
public setSuggestionCollector(SuggestionCollectorInterface $suggestionCollector)

Injects SuggestionCollector.

Parameters

SuggestionCollectorInterface $suggestionCollector

at line 38
public addSemanticConfig(NodeBuilder $nodeBuilder)

Adds semantic configuration definition.

Parameters

NodeBuilder $nodeBuilder Node just under ezpublish.system.

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

Parameters

array $scopeSettings
$currentScope
ContextualizerInterface $contextualizer