Symfony\Component\Security\Core\Authentication\Token\AnonymousToken::__construct
Constructor.
Signature
public function __construct(string
$key,
string
$user,
array
$roles )
Parameters
$key
— string- The key shared with the authentication provider
$user
— string- The user
$roles
— array- An array of roles