\Thelia\Core\Security\RoleRole

Role is a simple implementation of a RoleInterface where the role is a string.

Summary

Methods
Properties
Constants
__construct()
getRole()
__toString()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$role
N/A

Properties

$role

$role

Methods

__construct()

__construct(string $role)

Constructor.

Parameters

string $role

The role name

getRole()

getRole()

{@inheritdoc}

__toString()

__toString()