/** * {@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; }
/** * {@inheritdoc} */ public function query($statement) { $this->profiler->startQuery($statement); $statement = $this->__call("query", func_get_args()); $this->profiler->stopQuery(); return $statement; }
/** * {@inheritdoc} */ public function stopQuery() { $this->profilerProxied->stopQuery(); }