Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
displaySwitchUser example
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;
}
protected
function
displayFirewallList
(
SymfonyStyle
$io
)
: void
{