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