mediatekformation

SwitchUserRole extends Role
in package

SwitchUserRole is used when the current user temporarily impersonates another one.

Tags
author

Fabien Potencier fabien@symfony.com

deprecated

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

Table of Contents

$deprecationTriggered  : mixed
$role  : mixed
$source  : mixed
__construct()  : mixed
__toString()  : string
getRole()  : string
Returns a string representation of the role.
getSource()  : TokenInterface
Returns the original Token.

Properties

$deprecationTriggered

private mixed $deprecationTriggered = false

$role

private mixed $role

Methods

__toString()

public __toString() : string
Return values
string

getRole()

Returns a string representation of the role.

public getRole() : string
Return values
string

Search results