On this page
Role
class Role
Role is a simple implementation representing a role identified by a string.
Methods
__construct(string $role) | ||
string | getRole() Returns a string representation of the role. |
Details
__construct(string $role)
Parameters
string | $role |
string getRole()
Returns a string representation of the role.
Return Value
string |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Security/Core/Role/Role.html