public function startServer()
{
$finder = new PhpExecutableFinder();
if (false === ($binary = $finder->find())) {
throw new \RuntimeException('Unable to find PHP binary to run server.');
}
$builder = new ProcessBuilder(['exec', $binary, '-S', $this->address, realpath(__DIR__ . '/../Resource/server.php')]);
$builder->setWorkingDirectory(realpath(__DIR__ . '/../Resource'));
$builder->setTimeout(null);
$this->process = $builder->getProcess();
$this->process->start();
$this->waitServer();
}