if (!
$this->contexts->
has($serviceId)) { $io->
error(sprintf('Firewall %s was not found. Available firewalls are: %s',
$name,
implode(', ',
$this->firewallNames
)));
return 1;
} /** @var FirewallContext $context */
$context =
$this->contexts->
get($serviceId);
$io->
title(sprintf('Firewall "%s"',
$name));
$this->
displayFirewallSummary($name,
$context,
$io);
$this->
displaySwitchUser($context,
$io);
if ($input->
getOption('events'
)) { $this->
displayEventListeners($name,
$context,
$io);
} $this->
displayAuthenticators($name,
$io);
return 0;
}