PHP Class Jarves\EventListener\FrontendRouteListener

Inheritance: extends Symfony\Component\HttpKernel\EventListener\RouterListener
Datei anzeigen Open project: jarves/jarves Class Usage Examples

Protected Properties

Property Type Description
$jarves Jarves\Jarves
$loaded boolean[]
$routes Symfony\Component\Routing\RouteCollection

Public Methods

Method Description
__construct ( Jarves $jarves, PageStack $pageStack, EditMode $editMode, FrontendRouter $frontendRouter, PageResponseFactory $pageResponseFactory, Symfony\Component\Routing\RequestContext $requestContext, Psr\Log\LoggerInterface $logger )
getJarves ( ) : Jarves
getRoutes ( ) : RouteCollection
onKernelRequest ( GetResponseEvent $event )
setJarves ( Jarves $jarves )
setRoutes ( RouteCollection $routes )

Method Details

__construct() public method

public __construct ( Jarves $jarves, PageStack $pageStack, EditMode $editMode, FrontendRouter $frontendRouter, PageResponseFactory $pageResponseFactory, Symfony\Component\Routing\RequestContext $requestContext, Psr\Log\LoggerInterface $logger )
$jarves Jarves\Jarves
$pageStack Jarves\PageStack
$editMode Jarves\EditMode
$frontendRouter Jarves\Router\FrontendRouter
$pageResponseFactory Jarves\PageResponseFactory
$requestContext Symfony\Component\Routing\RequestContext
$logger Psr\Log\LoggerInterface

getJarves() public method

public getJarves ( ) : Jarves
return Jarves\Jarves

getRoutes() public method

public getRoutes ( ) : RouteCollection
return Symfony\Component\Routing\RouteCollection

onKernelRequest() public method

public onKernelRequest ( GetResponseEvent $event )
$event Symfony\Component\HttpKernel\Event\GetResponseEvent

setJarves() public method

public setJarves ( Jarves $jarves )
$jarves Jarves\Jarves

setRoutes() public method

public setRoutes ( RouteCollection $routes )
$routes Symfony\Component\Routing\RouteCollection

Property Details

$jarves protected_oe property

protected Jarves,Jarves $jarves
return Jarves\Jarves

$loaded protected_oe property

protected boolean[] $loaded
return boolean[]

$routes protected_oe property

protected RouteCollection,Symfony\Component\Routing $routes
return Symfony\Component\Routing\RouteCollection