public function profilerStart($target) { parent::profilerStart($target); /** @var Query $lastQuery */ $lastQuery = end($this->profiles); $this->getLogger()->log($this->getPriority(), 'Query started', array_intersect_key($lastQuery->toArray(), array_flip($this->getParametersStart()))); }