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