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).
Author: Fabien Potencier ([email protected])
Afficher le fichier Open project: pmjones/php-framework-benchmarks

Protected Properties

Свойство Type Description
$dispatcher
$map

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

Constructor.
public __construct ( FirewallMap $map )
$map FirewallMap A FirewallMap instance

handle() public méthode

Handles security.
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

protected $dispatcher

$map protected_oe property

protected $map