summaryrefslogtreecommitdiffstats
path: root/Http/FirewallMap.php
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2013-09-29 21:41:41 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2013-09-29 21:41:41 +0200
commit8969dd88b7a4c3e60cee10ad4094dcd05de62965 (patch)
tree04fff6aa504af1451eebca510ea605cfe3e498d0 /Http/FirewallMap.php
parent83cd64d415724127bd0db09ef1431e19a53afdea (diff)
parent974b6da0d0f1f602f80280604eff38a829c23814 (diff)
downloadsymfony-security-8969dd88b7a4c3e60cee10ad4094dcd05de62965.zip
symfony-security-8969dd88b7a4c3e60cee10ad4094dcd05de62965.tar.gz
symfony-security-8969dd88b7a4c3e60cee10ad4094dcd05de62965.tar.bz2
Merge branch '2.2' into 2.3
* 2.2: fixed Client when using the terminable event Fix problem with Windows file links (backslash in JavaScript string) [Security] fixed wrong phpdoc [Routing] removed extra argument [HttpFoundation] Header `HTTP_X_FORWARDED_PROTO` can contain various values Some proxies use `ssl` instead of `https`, as well as Lighttpd mod_proxy allows value chaining (`https, http`, where `https` is always first when request is encrypted). Added doc comments Conflicts: src/Symfony/Component/HttpFoundation/Request.php
Diffstat (limited to 'Http/FirewallMap.php')
-rw-r--r--Http/FirewallMap.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/Http/FirewallMap.php b/Http/FirewallMap.php
index dfc0984..0554bed 100644
--- a/Http/FirewallMap.php
+++ b/Http/FirewallMap.php
@@ -25,11 +25,19 @@ class FirewallMap implements FirewallMapInterface
{
private $map = array();
+ /**
+ * @param RequestMatcherInterface $requestMatcher
+ * @param array $listeners
+ * @param ExceptionListener $exceptionListener
+ */
public function add(RequestMatcherInterface $requestMatcher = null, array $listeners = array(), ExceptionListener $exceptionListener = null)
{
$this->map[] = array($requestMatcher, $listeners, $exceptionListener);
}
+ /**
+ * {@inheritDoc}
+ */
public function getListeners(Request $request)
{
foreach ($this->map as $elements) {