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