public function findServer($key) { if ($this->logging) { $start = microtime(true); $name = 'findServer'; $arguments = array($key); } list($_key) = array($key); $result = parent::findServer($_key); list($key) = array($_key); if ($this->logging) { $time = microtime(true) - $start; $this->calls[] = (object) compact('start', 'time', 'name', 'arguments', 'result'); } return $result; }