/**
  * {@inheritdoc}
  */
 public function execute($input_parameters = null)
 {
     $parameters = null === $input_parameters ? $this->binds : $input_parameters;
     $this->profiler->startQuery($this->statement->queryString, $parameters);
     $result = $this->statement->execute($input_parameters);
     $this->profiler->stopQuery();
     return $result;
 }
Exemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function query($statement)
 {
     $this->profiler->startQuery($statement);
     $statement = $this->__call("query", func_get_args());
     $this->profiler->stopQuery();
     return $statement;
 }
Exemplo n.º 3
0
 /**
  * {@inheritdoc}
  */
 public function stopQuery()
 {
     $this->profilerProxied->stopQuery();
 }