/**
  * Creates an array of Build objects.
  *
  * @return array  An array of Build objects
  */
 private function buildQueries()
 {
     $queries = array();
     $outerGlue = $this->propelConfiguration->getParameter('debugpdo.logging.outerglue', ' | ');
     $innerGlue = $this->propelConfiguration->getParameter('debugpdo.logging.innerglue', ': ');
     foreach ($this->logger->getQueries() as $q) {
         $parts = explode($outerGlue, $q);
         $times = explode($innerGlue, $parts[0]);
         $memories = explode($innerGlue, $parts[1]);
         $sql = trim($parts[2]);
         $time = trim($times[1]);
         $memory = trim($memories[1]);
         $queries[] = new Query($sql, $time, $memory);
     }
     return $queries;
 }
 /**
  * Count queries.
  * @return int  The number of queries.
  */
 private function countQueries()
 {
     return count($this->logger->getQueries());
 }