mediatekformation

Role
in package

Role is a simple implementation representing a role identified by a string.

Tags
author

Fabien Potencier fabien@symfony.com

deprecated

since Symfony 4.3, to be removed in 5.0. Use strings as roles instead.

Table of Contents

$role  : mixed
__construct()  : mixed
__toString()  : string
getRole()  : string
Returns a string representation of the role.

Properties

$role

private mixed $role

Methods

__construct()

public __construct(string $role) : mixed
Parameters
$role : string
Return values
mixed

__toString()

public __toString() : string
Return values
string

getRole()

Returns a string representation of the role.

public getRole() : string
Return values
string

Search results