displayFirewallSummary example

if (!$this->contexts->has($serviceId)) {
            $io->error(sprintf('Firewall %s was not found. Available firewalls are: %s', $nameimplode(', ', $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;
    }

    
Home | Imprint | This part of the site doesn't use cookies.