summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2011-05-30 09:04:37 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2011-05-30 09:04:37 +0200
commit7a0e1fdec618cb36224c8defcb54a78d38d0de50 (patch)
treea064774ce5178f9222113c255785968c1d664e62
parente0bd70738410fff5910e76134907ef7172efcacf (diff)
downloadsymfony-security-7a0e1fdec618cb36224c8defcb54a78d38d0de50.zip
symfony-security-7a0e1fdec618cb36224c8defcb54a78d38d0de50.tar.gz
symfony-security-7a0e1fdec618cb36224c8defcb54a78d38d0de50.tar.bz2
renamed constants to upper cased
-rw-r--r--Http/Firewall/ContextListener.php2
-rw-r--r--Http/Firewall/ExceptionListener.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/Http/Firewall/ContextListener.php b/Http/Firewall/ContextListener.php
index 136aa3b..dccbd5c 100644
--- a/Http/Firewall/ContextListener.php
+++ b/Http/Firewall/ContextListener.php
@@ -50,7 +50,7 @@ class ContextListener implements ListenerInterface
$this->logger = $logger;
if (null !== $dispatcher) {
- $dispatcher->addListener(CoreEvents::response, array($this, 'core.response'));
+ $dispatcher->addListener(CoreEvents::RESPONSE, array($this, 'onCoreResponse'));
}
}
diff --git a/Http/Firewall/ExceptionListener.php b/Http/Firewall/ExceptionListener.php
index e9e2e4b..b4d2b6f 100644
--- a/Http/Firewall/ExceptionListener.php
+++ b/Http/Firewall/ExceptionListener.php
@@ -59,7 +59,7 @@ class ExceptionListener
*/
public function register(EventDispatcherInterface $dispatcher)
{
- $dispatcher->addListener(CoreEvents::exception, array($this, 'core.exception'));
+ $dispatcher->addListener(CoreEvents::EXCEPTION, array($this, 'onCoreException'));
}
/**