class PersistentToken implements PersistentTokenInterface

This class is only used by PersistentTokenRememberMeServices internally.

Methods

__construct(string $class, string $username, string $series, string $tokenValue, DateTime $lastUsed)

Constructor.

string
getClass()

Returns the class of the user.

string
getUsername()

Returns the username.

string
getSeries()

Returns the series.

string
getTokenValue()

Returns the token value.

getLastUsed()

Returns the time the token was last used.

Details

at line line 38
__construct(string $class, string $username, string $series, string $tokenValue, DateTime $lastUsed)

Constructor.

Parameters

string $class
string $username
string $series
string $tokenValue
DateTime $lastUsed

Exceptions

InvalidArgumentException

at line line 63
string getClass()

Returns the class of the user.

Return Value

string

at line line 71
string getUsername()

Returns the username.

Return Value

string

at line line 79
string getSeries()

Returns the series.

Return Value

string

at line line 87
string getTokenValue()

Returns the token value.

Return Value

string

at line line 95
DateTime getLastUsed()

Returns the time the token was last used.

Return Value

DateTime