getTimeout() public method

Gets the min. timeout for Query Regeneration
public getTimeout ( ) : integer
return integer
 public function regenerateInfo()
 {
     $this->server->getPluginManager()->callEvent($ev = new QueryRegenerateEvent($this->server, 5));
     $this->longData = $ev->getLongQuery();
     $this->shortData = $ev->getShortQuery();
     $this->timeout = microtime(true) + $ev->getTimeout();
 }
 public function regenerateInfo()
 {
     $this->server->getPluginManager()->callEvent($ev = new QueryRegenerateEvent($this->server, 5));
     $this->server->mainInterface->setName($this->server->getNetwork()->getName());
     $this->server->mainInterface->setCount($ev->getPlayerCount(), $ev->getMaxPlayerCount());
     $this->longData = $ev->getLongQuery();
     $this->shortData = $ev->getShortQuery();
     $this->timeout = microtime(true) + $ev->getTimeout();
 }