Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Symfony
Component
Security
Core
Role
Role
PHP Class Symfony\Component\Security\Core\Role\Role
Author:
Fabien Potencier (
[email protected]
)
Inheritance:
implements
Symfony\Component\Security\Core\Role\RoleInterface
显示文件
Open project: symfony/symfony
Class Usage Examples
Public Methods
Method
Description
__construct
(
string
$role
)
Constructor.
getRole
( )
Method Details
__construct()
public
method
Constructor.
public
__construct
(
string
$role
)
$role
string
The role name
getRole()
public
method
public
getRole
( )