PHP Class Jarves\EventListener\LatencyMonitorSubscriber

Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Afficher le fichier Open project: jarves/jarves

Protected Properties

Свойство Type Description
$jarves Jarves\Jarves
$latency
$start

Méthodes publiques

Méthode Description
__construct ( PageStack $pageStack, Jarves\Cache\Backend\CacheInterface $distributedCache )
getSubscribedEvents ( )
log ( $area, $ms )
onFinishRequestPre ( Symfony\Component\HttpKernel\Event\FinishRequestEvent $event )
onRequestPre ( GetResponseEvent $event )
onTerminatePre ( Symfony\Component\HttpKernel\Event\PostResponseEvent $event )
saveLatency ( )

Method Details

__construct() public méthode

public __construct ( PageStack $pageStack, Jarves\Cache\Backend\CacheInterface $distributedCache )
$pageStack Jarves\PageStack
$distributedCache Jarves\Cache\Backend\CacheInterface

getSubscribedEvents() public static méthode

public static getSubscribedEvents ( )

log() public méthode

public log ( $area, $ms )

onFinishRequestPre() public méthode

public onFinishRequestPre ( Symfony\Component\HttpKernel\Event\FinishRequestEvent $event )
$event Symfony\Component\HttpKernel\Event\FinishRequestEvent

onRequestPre() public méthode

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

onTerminatePre() public méthode

public onTerminatePre ( Symfony\Component\HttpKernel\Event\PostResponseEvent $event )
$event Symfony\Component\HttpKernel\Event\PostResponseEvent

saveLatency() public méthode

public saveLatency ( )

Property Details

$jarves protected_oe property

protected Jarves,Jarves $jarves
Résultat Jarves\Jarves

$latency protected_oe property

protected $latency

$start protected_oe property

protected $start