Documentation

TestBrowserToken extends AbstractToken
in package

A very limited token that is used to login in tests using the KernelBrowser.

Tags
author

Wouter de Jong wouter@wouterj.nl

Table of Contents

$firewallName  : mixed
__construct()  : mixed
__serialize()  : array<string|int, mixed>
__unserialize()  : void
getCredentials()  : mixed
getFirewallName()  : string

Properties

Methods

__construct()

public __construct([array<string|int, mixed> $roles = [] ][, UserInterface|null $user = null ][, string $firewallName = 'main' ]) : mixed
Parameters
$roles : array<string|int, mixed> = []
$user : UserInterface|null = null
$firewallName : string = 'main'
Return values
mixed

__serialize()

public __serialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

__unserialize()

public __unserialize(array<string|int, mixed> $data) : void
Parameters
$data : array<string|int, mixed>
Return values
void

getCredentials()

public getCredentials() : mixed
Return values
mixed

getFirewallName()

public getFirewallName() : string
Return values
string

Search results