PHP Class eZ\Bundle\EzPublishCoreBundle\EventListener\ConfigScopeListener

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

Public Methods

Method Description
__construct ( eZ\Publish\Core\MVC\Symfony\Configuration\VersatileScopeInterface $configResolver, eZ\Publish\Core\MVC\Symfony\View\ViewManagerInterface $viewManager )
getSubscribedEvents ( )
onConfigScopeChange ( ScopeChangeEvent $event )
setViewProviders ( array $viewProviders ) Sets the complete list of view providers.

Method Details

__construct() public method

public __construct ( eZ\Publish\Core\MVC\Symfony\Configuration\VersatileScopeInterface $configResolver, eZ\Publish\Core\MVC\Symfony\View\ViewManagerInterface $viewManager )
$configResolver eZ\Publish\Core\MVC\Symfony\Configuration\VersatileScopeInterface
$viewManager eZ\Publish\Core\MVC\Symfony\View\ViewManagerInterface

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

onConfigScopeChange() public method

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

setViewProviders() public method

Sets the complete list of view providers.
public setViewProviders ( array $viewProviders )
$viewProviders array