class CsrfToken

A CSRF token.

Methods

__construct(string $id, string|null $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 24
__construct(string $id, string|null $value)

Parameters

string $id
string|null $value

at line 35
string getId()

Returns the ID of the CSRF token.

Return Value

string The token ID

at line 45
string getValue()

Returns the value of the CSRF token.

Return Value

string The token value

at line 55
string __toString()

Returns the value of the CSRF token.

Return Value

string The token value