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])
Show file Open project: pmjones/php-framework-benchmarks

Protected Properties

Property Type Description
$dispatcher
$map

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

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

handle() public method

Handles security.
public handle ( Symfony\Component\EventDispatcher\Event $event )
$event Symfony\Component\EventDispatcher\Event An Event instance

register() public method

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

protected $dispatcher

$map protected property

protected $map