CsrfToken
in package
A CSRF token.
Tags
Table of Contents
- $id : mixed
- $value : mixed
- __construct() : mixed
- __toString() : string
- Returns the value of the CSRF token.
- getId() : string
- Returns the ID of the CSRF token.
- getValue() : string
- Returns the value of the CSRF token.
Properties
$id
private
mixed
$id
$value
private
mixed
$value
Methods
__construct()
public
__construct(string $id, string|null $value) : mixed
Parameters
- $id : string
- $value : string|null
Return values
mixed —__toString()
Returns the value of the CSRF token.
public
__toString() : string
Return values
string —getId()
Returns the ID of the CSRF token.
public
getId() : string
Return values
string —getValue()
Returns the value of the CSRF token.
public
getValue() : string