public function recordQueryStart(CompiledQuery $query) { $this->extra = ["collection" => $query->getCollection(), "query" => $query->getQuery(), "method" => $query->getMethod(), "arguments" => $query->getArguments(), "calls" => $query->getCalls()]; $this->startTime = microtime(true); }