class Recaller (View source)

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.

string
hash()

Get the password from the recaller.

bool
valid()

Determine if the recaller is valid.

bool
properString()

Determine if the recaller is an invalid string.

bool
hasAllSegments()

Determine if the recaller has all segments.

array
segments()

Get the recaller's segments.

Details

void __construct(string $recaller)

Create a new recaller instance.

Parameters

string $recaller

Return Value

void

string id()

Get the user ID from the recaller.

Return Value

string

string token()

Get the "remember token" token from the recaller.

Return Value

string

string hash()

Get the password from the recaller.

Return Value

string

bool valid()

Determine if the recaller is valid.

Return Value

bool

protected bool properString()

Determine if the recaller is an invalid string.

Return Value

bool

protected bool hasAllSegments()

Determine if the recaller has all segments.

Return Value

bool

array segments()

Get the recaller's segments.

Return Value

array