PHP Class eZ\Bundle\EzPublishCoreBundle\EventListener\DynamicSettingsListener

Inheritance: extends Symfony\Component\DependencyInjection\ContainerAware, implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Datei anzeigen Open project: ezsystems/ezpublish-kernel Class Usage Examples

Public Methods

Method Description
__construct ( array $resettableServiceIds, array $updatableServices, Symfony\Component\DependencyInjection\ExpressionLanguage $expressionLanguage = null )
getSubscribedEvents ( )
onConfigScopeChange ( ScopeChangeEvent $event )
onSiteAccessMatch ( PostSiteAccessMatchEvent $event )
setContainer ( Symfony\Component\DependencyInjection\ContainerInterface $container )

Private Methods

Method Description
resetDynamicSettings ( ) Ensure that dynamic settings are correctly reset, so that services that rely on those are correctly updated.

Method Details

__construct() public method

public __construct ( array $resettableServiceIds, array $updatableServices, Symfony\Component\DependencyInjection\ExpressionLanguage $expressionLanguage = null )
$resettableServiceIds array
$updatableServices array
$expressionLanguage Symfony\Component\DependencyInjection\ExpressionLanguage

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

onConfigScopeChange() public method

public onConfigScopeChange ( ScopeChangeEvent $event )
$event eZ\Publish\Core\MVC\Symfony\Event\ScopeChangeEvent

onSiteAccessMatch() public method

public onSiteAccessMatch ( PostSiteAccessMatchEvent $event )
$event eZ\Publish\Core\MVC\Symfony\Event\PostSiteAccessMatchEvent

setContainer() public method

public setContainer ( Symfony\Component\DependencyInjection\ContainerInterface $container )
$container Symfony\Component\DependencyInjection\ContainerInterface