public function testAccessingNotExistingEntry() { $logger = new SqlLogger(); ob_start(); $logger->dumpQuery(0); $logger->startQuery('SELECT * FROM author'); $logger->stopQuery(); $logger->dumpQuery(300); ob_end_clean(); }
protected function stopSqlLogger() { if ($this->sqlLogger) { $this->sqlLogger->stopQuery(); } }