interface Token

Methods

getId ()

No description

hasExpired () : bool

Indicates whether the token has expired or not.

Details

getId()

Example code

$token->getId();

hasExpired()

Indicates whether the token has expired or not.

Return value

bool TRUE if the token has expired, FALSE if it is still valid

Example code

$bool = $token->hasExpired();