diff options
Diffstat (limited to 'Core/Role/Role.php')
-rw-r--r-- | Core/Role/Role.php | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/Core/Role/Role.php b/Core/Role/Role.php index 7f16302..5b50981 100644 --- a/Core/Role/Role.php +++ b/Core/Role/Role.php @@ -17,7 +17,7 @@ namespace Symfony\Component\Security\Core\Role; * * @author Fabien Potencier <fabien@symfony.com> */ -class Role implements RoleInterface, \Serializable +class Role implements RoleInterface { private $role; @@ -38,20 +38,4 @@ class Role implements RoleInterface, \Serializable { return $this->role; } - - /** - * {@inheritdoc} - */ - public function serialize() - { - return serialize($this->role); - } - - /** - * {@inheritdoc} - */ - public function unserialize($serialized) - { - $this->role = unserialize($serialized); - } } |