diff options
author | Christian Flothmann <christian.flothmann@sensiolabs.de> | 2016-11-28 08:59:03 +0100 |
---|---|---|
committer | Christian Flothmann <christian.flothmann@sensiolabs.de> | 2016-12-07 09:55:32 +0100 |
commit | a39290c2fc59213b11f62bbce19e366ac69dbf8b (patch) | |
tree | b7621cb909b1756a5df39f05072b18ffebbb8fda /Core/Role | |
parent | 63744a5bb1e02c4ce0e017d701882ac1587c79e0 (diff) | |
download | symfony-security-a39290c2fc59213b11f62bbce19e366ac69dbf8b.zip symfony-security-a39290c2fc59213b11f62bbce19e366ac69dbf8b.tar.gz symfony-security-a39290c2fc59213b11f62bbce19e366ac69dbf8b.tar.bz2 |
[Security] deprecate the RoleInterface
Diffstat (limited to 'Core/Role')
-rw-r--r-- | Core/Role/Role.php | 3 | ||||
-rw-r--r-- | Core/Role/RoleInterface.php | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Core/Role/Role.php b/Core/Role/Role.php index 5b50981..7cb4698 100644 --- a/Core/Role/Role.php +++ b/Core/Role/Role.php @@ -12,8 +12,7 @@ namespace Symfony\Component\Security\Core\Role; /** - * Role is a simple implementation of a RoleInterface where the role is a - * string. + * Role is a simple implementation representing a role identified by a string. * * @author Fabien Potencier <fabien@symfony.com> */ diff --git a/Core/Role/RoleInterface.php b/Core/Role/RoleInterface.php index 3d4cbea..a0621ba 100644 --- a/Core/Role/RoleInterface.php +++ b/Core/Role/RoleInterface.php @@ -18,6 +18,8 @@ namespace Symfony\Component\Security\Core\Role; * supported by at least one AccessDecisionManager. * * @author Fabien Potencier <fabien@symfony.com> + * + * @deprecated The RoleInterface is deprecated since version 3.3 and will be removed in 4.0. Extend the Symfony\Component\Security\Core\Role\Role class instead. */ interface RoleInterface { |