mediatekformation

FirewallMap
in package
implements FirewallMapInterface

This is a lazy-loading firewall map implementation.

Listeners will only be initialized if we really need them.

Tags
author

Johannes M. Schmitt schmittjoh@gmail.com

Interfaces, Classes, Traits and Enums

FirewallMapInterface
This interface must be implemented by firewall maps.

Table of Contents

$container  : mixed
$map  : mixed
__construct()  : mixed
getFirewallConfig()  : FirewallConfig|null
getListeners()  : array<string|int, mixed>
Returns the authentication listeners, and the exception listener to use for the given request.
getFirewallContext()  : FirewallContext|null

Properties

Methods

getListeners()

Returns the authentication listeners, and the exception listener to use for the given request.

public getListeners(Request $request) : array<string|int, mixed>

If there are no authentication listeners, the first inner array must be empty.

If there is no exception listener, the second element of the outer array must be null.

If there is no logout listener, the third element of the outer array must be null.

Parameters
$request : Request
Return values
array<string|int, mixed>

of the format [[AuthenticationListener], ExceptionListener, LogoutListener]

Search results