eZ\Bundle\EzPublishDebugBundle\Collector\PersistenceCacheCollector::collect PHP Method

collect() public method

public collect ( Request $request, Response $response, Exception $exception = null )
$request Symfony\Component\HttpFoundation\Request
$response Symfony\Component\HttpFoundation\Response
$exception Exception
    public function collect(Request $request, Response $response, \Exception $exception = null)
    {
        $this->data = ['count' => $this->logger->getCount(), 'calls_logging_enabled' => $this->logger->isCallsLoggingEnabled(), 'calls' => $this->logger->getCalls(), 'handlers' => $this->logger->getLoadedUnCachedHandlers()];
    }