/** * @param Event $event * @param DbAdapterInterface $connection */ public function beforeQuery(Event $event, DbAdapterInterface $connection) { $this->_profiler->startProfile($connection->getSQLStatement(), $connection->getSQLVariables(), $connection->getSQLBindTypes()); }