eZPublishCommunityProject  2013.5
eZ\Bundle\EzPublishLegacyBundle\LegacyMapper\Configuration Class Reference

Maps configuration parameters to the legacy parameters. More...

+ Inheritance diagram for eZ\Bundle\EzPublishLegacyBundle\LegacyMapper\Configuration:
+ Collaboration diagram for eZ\Bundle\EzPublishLegacyBundle\LegacyMapper\Configuration:

Public Member Functions

 __construct (ConfigResolverInterface $configResolver, GatewayCachePurger $gatewayCachePurger, PersistenceCachePurger $persistenceCachePurger, ContainerInterface $container, UrlAliasGenerator $urlAliasGenerator, array $options=array())
 
 onBuildKernel (PreBuildKernelEvent $event)
 Adds settings to the parameters that will be injected into the legacy kernel. More...
 
 setIsEnabled ($isEnabled)
 Toggles the feature. More...
 

Static Public Member Functions

static getSubscribedEvents ()
 

Private Member Functions

 getImageSettings ()
 
 getMultiSiteSettings ()
 

Private Attributes

 $configResolver
 
 $container
 
 $gatewayCachePurger
 
 $isEnabled = true
 
 $options
 
 $persistenceCachePurger
 
 $urlAliasGenerator
 

Detailed Description

Maps configuration parameters to the legacy parameters.

Constructor & Destructor Documentation

eZ\Bundle\EzPublishLegacyBundle\LegacyMapper\Configuration::__construct ( ConfigResolverInterface  $configResolver,
GatewayCachePurger  $gatewayCachePurger,
PersistenceCachePurger  $persistenceCachePurger,
ContainerInterface  $container,
UrlAliasGenerator  $urlAliasGenerator,
array  $options = array() 
)

Member Function Documentation

eZ\Bundle\EzPublishLegacyBundle\LegacyMapper\Configuration::getImageSettings ( )
private
eZ\Bundle\EzPublishLegacyBundle\LegacyMapper\Configuration::getMultiSiteSettings ( )
private
static eZ\Bundle\EzPublishLegacyBundle\LegacyMapper\Configuration::getSubscribedEvents ( )
static
eZ\Bundle\EzPublishLegacyBundle\LegacyMapper\Configuration::onBuildKernel ( PreBuildKernelEvent  $event)

Adds settings to the parameters that will be injected into the legacy kernel.

Parameters
\eZ\Publish\Core\MVC\Legacy\Event\PreBuildKernelEvent$event
Todo:
Cache computed settings somehow
eZ\Bundle\EzPublishLegacyBundle\LegacyMapper\Configuration::setIsEnabled (   $isEnabled)

Toggles the feature.

Parameters
bool$isEnabled

Member Data Documentation

eZ\Bundle\EzPublishLegacyBundle\LegacyMapper\Configuration::$configResolver
private
eZ\Bundle\EzPublishLegacyBundle\LegacyMapper\Configuration::$container
private
eZ\Bundle\EzPublishLegacyBundle\LegacyMapper\Configuration::$gatewayCachePurger
private
eZ\Bundle\EzPublishLegacyBundle\LegacyMapper\Configuration::$isEnabled = true
private
eZ\Bundle\EzPublishLegacyBundle\LegacyMapper\Configuration::$options
private
eZ\Bundle\EzPublishLegacyBundle\LegacyMapper\Configuration::$persistenceCachePurger
private
eZ\Bundle\EzPublishLegacyBundle\LegacyMapper\Configuration::$urlAliasGenerator
private

The documentation for this class was generated from the following file: