CodeExplorer getFirewallContext example
private ContainerInterface
$container;
private iterable
$map;
public function __construct(ContainerInterface
$container, iterable
$map) { $this->container =
$container;
$this->map =
$map;
} public function getListeners(Request
$request): array
{ $context =
$this->
getFirewallContext($request);
if (null ===
$context) { return [[], null, null
];
} return [$context->
getListeners(),
$context->
getExceptionListener(),
$context->
getLogoutListener()];
} public function getFirewallConfig(Request
$request): ?FirewallConfig
{ $context =
$this->
getFirewallContext($request);