PHP Class Jarves\EventListener\LatencyMonitorSubscriber

Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Mostrar archivo Open project: jarves/jarves

Protected Properties

Property Type Description
$jarves Jarves\Jarves
$latency
$start

Public Methods

Method 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 method

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

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

log() public method

public log ( $area, $ms )

onFinishRequestPre() public method

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

onRequestPre() public method

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

onTerminatePre() public method

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

saveLatency() public method

public saveLatency ( )

Property Details

$jarves protected_oe property

protected Jarves,Jarves $jarves
return Jarves\Jarves

$latency protected_oe property

protected $latency

$start protected_oe property

protected $start