class CsrfToken

A CSRF token.

Methods

__construct(string $id, string $value)

No description

string
getId()

Returns the ID of the CSRF token.

string
getValue()

Returns the value of the CSRF token.

string
__toString()

Returns the value of the CSRF token.

Details

at line 28
__construct(string $id, string $value)

Parameters

string $id The token ID
string $value The actual token value

at line 39
string getId()

Returns the ID of the CSRF token.

Return Value

string The token ID

at line 49
string getValue()

Returns the value of the CSRF token.

Return Value

string The token value

at line 59
string __toString()

Returns the value of the CSRF token.

Return Value

string The token value