Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Webiny
Component
Security
Role
Role
PHP Class Webiny\Component\Security\Role\Role
Show file
Open project: Webiny/Framework
Class Usage Examples
Public Methods
Method
Description
__construct
(
string
$role
)
Constructor.
getRole
( ) :
string
Returns the name of the role.
Method Details
__construct()
public
method
Constructor.
public
__construct
(
string
$role
)
$role
string
The role name.
getRole()
public
method
Returns the name of the role.
public
getRole
( ) :
string
return
string