protected function start($host,
$port, DrupalKernelInterface
$kernel, InputInterface
$input, SymfonyStyle
$io) { $finder =
new PhpExecutableFinder();
$binary =
$finder->
find();
if ($binary === FALSE
) { throw new \
RuntimeException('Unable to find the PHP binary.'
);
} $io->
writeln("<info>Drupal development server started:</info> <http://{
$host}:{
$port}>"
);
$io->
writeln('<info>This server is not meant for production use.</info>'
);
$one_time_login = "http://
$host:
$port{
$this->
getOneTimeLoginUrl()}/login";
$io->
writeln("<info>One time login url:</info> <
$one_time_login>"
);
$io->
writeln('Press Ctrl-C to quit the Drupal development server.'
);
if (!
$input->
getOption('suppress-login'
)) { if ($this->
openBrowser("
$one_time_login?destination=" .
urlencode("/"
),
$io) === 1
) { $io->
error('Error while opening up a one time login URL'
);
} } // Use the Process object to construct an escaped command line.
$process =
new Process([