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).
Afficher le fichier
Open project: pmjones/php-framework-benchmarks
Protected Properties
Méthodes publiques
Méthode |
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 méthode
public __construct ( FirewallMap $map ) |
$map |
FirewallMap |
A FirewallMap instance |
public handle ( Symfony\Component\EventDispatcher\Event $event ) |
$event |
Symfony\Component\EventDispatcher\Event |
An Event instance |
register()
public méthode
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_oe property
$map protected_oe property