summaryrefslogtreecommitdiffstats
path: root/Core/SecurityContextInterface.php
diff options
context:
space:
mode:
authorHugo Hamon <hugo.hamon@sensiolabs.com>2014-12-21 12:39:54 +0100
committerHugo Hamon <hugo.hamon@sensiolabs.com>2015-01-05 15:57:15 +0100
commit7c3ed12a9ba65db90f7c3b8333c5c8ac7fae76ee (patch)
tree289ad26957000fbd09cec810fad29e654f297cbc /Core/SecurityContextInterface.php
parent79471f92de28ed0acf9cce11051ebc47964acfbb (diff)
downloadsymfony-security-7c3ed12a9ba65db90f7c3b8333c5c8ac7fae76ee.zip
symfony-security-7c3ed12a9ba65db90f7c3b8333c5c8ac7fae76ee.tar.gz
symfony-security-7c3ed12a9ba65db90f7c3b8333c5c8ac7fae76ee.tar.bz2
Adds deprecation notices for structures to be removed in 3.0.
Diffstat (limited to 'Core/SecurityContextInterface.php')
-rw-r--r--Core/SecurityContextInterface.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/Core/SecurityContextInterface.php b/Core/SecurityContextInterface.php
index 0ad7bd3..0a77f00 100644
--- a/Core/SecurityContextInterface.php
+++ b/Core/SecurityContextInterface.php
@@ -11,6 +11,8 @@
namespace Symfony\Component\Security\Core;
+trigger_error('The '.__NAMESPACE__.'\SecurityContextInterface interface is deprecated since version 2.6 and will be removed in 3.0. Use both Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface and Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface interfaces instead.', E_USER_DEPRECATED);
+
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface;