ScriptFUSIONTest\Functional\Porter\Net\Http\HttpConnectorTest::startServer PHP Метод

startServer() приватный Метод

private startServer ( string $script ) : Process
$script string
Результат Symfony\Component\Process\Process Server.
    private function startServer($script)
    {
        $server = (new Process(sprintf('%sphp -S %s %s.php', file_exists('/bin/sh') ? 'exec ' : '', self::HOST, $script)))->setWorkingDirectory(self::$dir);
        $server->start();
        return $server;
    }