Collector/Neo4jDataCollector.php
public function collect(Request $request, Response $response, \Exception $exception = null)
    {
        $this->data['time'] = $this->queryLogger->getElapsedTime();
        $this->data['nb_queries'] = count($this->queryLogger);
        $this->data['statements'] = $this->queryLogger->getStatements();
        $this->data['failed_statements'] = array_filter($this->queryLogger->getStatements(), function ($statement) {
            return !isset($statement['success']) || !$statement['success'];
        });
    }
public function collect(Request $request, Response $response, \Exception $exception = null)
    {
        $this->data['time'] = $this->queryLogger->getElapsedTime();
        $this->data['nb_queries'] = count($this->queryLogger);
        $this->data['statements'] = $this->queryLogger->getStatements();
        $this->data['failed_statements'] = array_filter($this->queryLogger->getStatements(), function ($statement) {
            return !isset($statement['success']) || !$statement['success'];
        });
    }
{@inheritdoc}