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 ( )