PHP Class eZ\Bundle\EzPublishCoreBundle\EventListener\IndexRequestListener

Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
ファイルを表示 Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Property Type Description
$configResolver eZ\Publish\Core\MVC\ConfigResolverInterface

Public Methods

Method Description
__construct ( eZ\Publish\Core\MVC\ConfigResolverInterface $configResolver )
getSubscribedEvents ( )
onKernelRequestIndex ( GetResponseEvent $event ) Checks if the IndexPage is configured and which page must be shown.

Method Details

__construct() public method

public __construct ( eZ\Publish\Core\MVC\ConfigResolverInterface $configResolver )
$configResolver eZ\Publish\Core\MVC\ConfigResolverInterface

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

onKernelRequestIndex() public method

Checks if the IndexPage is configured and which page must be shown.
public onKernelRequestIndex ( GetResponseEvent $event )
$event Symfony\Component\HttpKernel\Event\GetResponseEvent

Property Details

$configResolver protected_oe property

protected ConfigResolverInterface,eZ\Publish\Core\MVC $configResolver
return eZ\Publish\Core\MVC\ConfigResolverInterface