PHP 클래스 Bolt\EventListener\ConfigListener

This is a temporary solution to remove the configuration checks from pre-request, until such time as configuration can be refactored.
저자: Gawain Lynch ([email protected])
상속: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
파일 보기 프로젝트 열기: bolt/bolt

공개 메소드들

메소드 설명
__construct ( Silex\Application $app ) Constructor.
getSubscribedEvents ( )
onRequest ( GetResponseEvent $event ) : null Normal functions.
onRequestEarly ( GetResponseEvent $event ) Early functions.

비공개 메소드들

메소드 설명
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.

메소드 상세

__construct() 공개 메소드

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

getSubscribedEvents() 공개 정적인 메소드

public static getSubscribedEvents ( )

onRequest() 공개 메소드

Normal functions.
public onRequest ( GetResponseEvent $event ) : null
$event Symfony\Component\HttpKernel\Event\GetResponseEvent
리턴 null

onRequestEarly() 공개 메소드

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