/** * @param DatabaseEvent $event */ public function onPostQueryExecute(DatabaseEvent $event) { $data = $event->getData(); self::$collectedData[] = array('query' => $event->getQuery(), 'executionTime' => $event->getExecutionTime(), 'bind' => $data['bind']); }
public function onPostQueryExecute(DatabaseEvent $event) { self::$data[] = $this->getDataFormatter()->formatVar(array('query' => $event->getQuery(), 'data' => $event->getData())); }