Documentation

CsrfToken
in package

A CSRF token.

Tags
author

Bernhard Schussek bschussek@gmail.com

Table of Contents

Properties

$id  : string
$value  : string

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

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
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
Return values
string

        
On this page

Search results