public function getTimeout() { return $this->_timeout; }
/** * * @return boolean */ public function isTimeout() { if (!$this->config->isTimeoutEnabled()) { return false; } $duration = \microtime(true) - $this->getStartTime(); return $duration > $this->config->getTimeout(); }