class Recaller

Properties

protected string $recaller

The "recaller" / "remember me" cookie string.

Methods

void
__construct(string $recaller)

Create a new recaller instance.

string
id()

Get the user ID from the recaller.

string
token()

Get the "remember token" token from the recaller.

bool
valid()

Determine if the recaller is valid.

bool
properString()

Determine if the recaller is an invalid string.

bool
hasBothSegments()

Determine if the recaller has both segments.

Details

at line 22
void __construct(string $recaller)

Create a new recaller instance.

Parameters

string $recaller

Return Value

void

at line 32
string id()

Get the user ID from the recaller.

Return Value

string

at line 42
string token()

Get the "remember token" token from the recaller.

Return Value

string

at line 52
bool valid()

Determine if the recaller is valid.

Return Value

bool

at line 62
protected bool properString()

Determine if the recaller is an invalid string.

Return Value

bool

at line 72
protected bool hasBothSegments()

Determine if the recaller has both segments.

Return Value

bool