eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\ContextualizerInterface::mapSetting PHP Method

mapSetting() public method

Resulting parameter will have format .. .
public mapSetting ( string $id, array $config ) : mixed
$id string Id of the setting to map. Note that it will be used to identify the semantic setting in $config and to define the internal setting in the container (..<$id>)
$config array Full semantic configuration array for current bundle.
return mixed
    public function mapSetting($id, array $config);

Usage Example

 /**
  * Proxy to `Contextualizer::mapSetting()`.
  *
  * @see ContextualizerInterface::mapSetting()
  *
  * @param string $id Id of the setting to map.
  * @param array $config Full semantic configuration array for current bundle.
  */
 public function mapSetting($id, array $config)
 {
     $this->contextualizer->mapSetting($id, $config);
 }