RoleInterface deprecated
interface RoleInterface
deprecated
RoleInterface represents a role granted to a user.
A role must either have a string representation or it needs to be explicitly supported by at least one AccessDecisionManager.
Methods
| string|null | getRole() Возвращает роль. |
Details
string|null getRole()
Возвращает роль.
Этот метод возвращает строковое представление, когда это возможно.
Когда роль нельзя представить с достаточной точностью строкой, она должна возвращать null.
Return Value
| string|null | Строковое представление роли или null |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.3/Symfony/Component/Security/Core/Role/RoleInterface.html