CsrfToken
in package
A CSRF token.
Tags
Table of Contents
Properties
Methods
- __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
string
$id
$value
private
string
$value
Methods
__construct()
public
__construct(string $id, string|null $value) : mixed
Parameters
- $id : string
- $value : string|null
__toString()
Returns the value of the CSRF token.
public
__toString() : string
Return values
stringgetId()
Returns the ID of the CSRF token.
public
getId() : string
Return values
stringgetValue()
Returns the value of the CSRF token.
public
getValue() : string