PHP Class Symfony\Component\HttpKernel\Security\Firewall
It allows for different security strategies within the same application
(a Basic authentication for the /api, and a web based authentication for
everything else for instance).
Show file
Open project: pmjones/php-framework-benchmarks
Protected Properties
Public Methods
Method |
Description |
|
__construct ( FirewallMap $map ) |
Constructor. |
|
handle ( Symfony\Component\EventDispatcher\Event $event ) |
Handles security. |
|
register ( EventDispatcher $dispatcher, integer $priority ) |
Registers a core.request listener to enforce security. |
|
Method Details
__construct()
public method
public __construct ( FirewallMap $map ) |
$map |
FirewallMap |
A FirewallMap instance |
public handle ( Symfony\Component\EventDispatcher\Event $event ) |
$event |
Symfony\Component\EventDispatcher\Event |
An Event instance |
Registers a core.request listener to enforce security.
public register ( EventDispatcher $dispatcher, integer $priority ) |
$dispatcher |
Symfony\Component\EventDispatcher\EventDispatcher |
An EventDispatcher instance |
$priority |
integer |
The priority |
Property Details
$dispatcher protected property