private function getConnectionTimeTillLastRequest() { if (!$this->lastResponseEndTime || !$this->connectionStartTime) { return NULL; } return $this->lastResponseEndTime - $this->connectionStartTime; }