PHP Class Bolt\EventListener\ConfigListener

This is a temporary solution to remove the configuration checks from pre-request, until such time as configuration can be refactored.
Author: Gawain Lynch ([email protected])
Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Afficher le fichier Open project: bolt/bolt

Méthodes publiques

Méthode Description
__construct ( Silex\Application $app ) Constructor.
getSubscribedEvents ( )
onRequest ( GetResponseEvent $event ) : null Normal functions.
onRequestEarly ( GetResponseEvent $event ) Early functions.

Private Methods

Méthode Description
setGlobals ( boolean $safe ) : array Get the parameters that will be used to update Bolt's registered Twig globals.
setVersionChangeNotice ( ) If required set a notification of version change, for admin users.

Method Details

__construct() public méthode

Constructor.
public __construct ( Silex\Application $app )
$app Silex\Application

getSubscribedEvents() public static méthode

public static getSubscribedEvents ( )

onRequest() public méthode

Normal functions.
public onRequest ( GetResponseEvent $event ) : null
$event Symfony\Component\HttpKernel\Event\GetResponseEvent
Résultat null

onRequestEarly() public méthode

Early functions.
public onRequestEarly ( GetResponseEvent $event )
$event Symfony\Component\HttpKernel\Event\GetResponseEvent