protected function stopSqlLogger() { if ($this->sqlLogger) { $this->sqlLogger->stopQuery(); } }
public function testClear() { $this->logger->clear(); $this->assertAttributeEmpty('queries', $this->logger); $this->assertAttributeEmpty('current', $this->logger); }