Symfony\Component\Security\Core\Role\Role
Role is a simple implementation of a RoleInterface where the role is a string.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class Role
implements
RoleInterface
{
- // members
- private $role;
- // methods
- public void __construct()
- public void getRole()
Hierarchy
Extended by
Implements
Members
private
- $role
Methods
public
- __construct() — Constructor.
- getRole() — {@inheritdoc}