Symfony\Component\HttpKernel\Security\FirewallMap::add PHP Method

add() public method

public add ( Symfony\Component\HttpFoundation\RequestMatcherInterface $requestMatcher = null, array $listeners = [], ExceptionListener $listener = null )
$requestMatcher Symfony\Component\HttpFoundation\RequestMatcherInterface
$listeners array
$listener Symfony\Component\HttpKernel\Security\Firewall\ExceptionListener
    public function add(RequestMatcherInterface $requestMatcher = null, array $listeners = array(), ExceptionListener $listener = null)
    {
        $this->map[] = array($requestMatcher, $listeners, $listener);
    }