public function start(): int
    {
        $scripts = $this->installManager->install();

        $this->processRunner = new ProcessRunner($scripts->getStubService(), $this->getArguments());

        $processId =  $this->processRunner->run();
        \sleep(1); // wait for server to start

        return $processId;
    }
public function start(): int
    {
        $scripts = $this->installManager->install();

        $this->processRunner = new ProcessRunner($scripts->getStubService(), $this->getArguments());

        $processId =  $this->processRunner->run();
        \sleep(1); // wait for server to start

        return $processId;
    }
public function start ( ) : int { $ scripts = $ this -> installManager -> install ( ) ; $ this -> processRunner = new ProcessRunner ( $ scripts -> getStubService ( ) , $ this -> getArguments ( ) ) ; $ processId = $ this -> processRunner -> run ( ) ; \ sleep ( 1 ) ; // wait for server to start return $ processId ; }
Start the Stub Server. Verify that it is running.

@throws Exception

@return int process ID of the started Stub Server
Start the Stub Server . Verify that it is running .