public function setTimeout($timeout) { $this->timeout = $this->validateTimeout($timeout); return $this; }
private static function setUpPhpServer() { self::$process = new Process('php -S [::1]:8999', __DIR__ . '/../../Resources/Scripts'); self::$process->setTimeout(1); self::$process->start(); usleep(100000); }