Esempio n. 1
0
 public function request($path, $method, $data = array(), array $query = array())
 {
     $start = microtime(true);
     $response = parent::request($path, $method, $data, $query);
     if (null !== $this->logger) {
         $time = microtime(true) - $start;
         $this->logger->logQuery($path, $method, $data, $time);
     }
     return $response;
 }