FirewallMap
in package
implements
FirewallMapInterface
FirewallMap allows configuration of different firewalls for specific parts of the website.
Tags
Interfaces, Classes, Traits and Enums
- FirewallMapInterface
- This interface must be implemented by firewall maps.
Table of Contents
- $map : mixed
- add() : mixed
- getListeners() : array<string|int, mixed>
- Returns the authentication listeners, and the exception listener to use for the given request.
Properties
$map
private
mixed
$map
= []
Methods
add()
public
add([RequestMatcherInterface $requestMatcher = null ][, array<string|int, mixed> $listeners = [] ][, ExceptionListener $exceptionListener = null ][, LogoutListener $logoutListener = null ]) : mixed
Parameters
- $requestMatcher : RequestMatcherInterface = null
- $listeners : array<string|int, mixed> = []
- $exceptionListener : ExceptionListener = null
- $logoutListener : LogoutListener = null
Return values
mixed —getListeners()
Returns the authentication listeners, and the exception listener to use for the given request.
public
getListeners(Request $request) : array<string|int, mixed>
Parameters
- $request : Request
Return values
array<string|int, mixed> —of the format [[AuthenticationListener], ExceptionListener, LogoutListener]