PHP Class Webiny\Component\Security\Role\Role

Exibir arquivo 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