ConsumableNonce extends ConsumableString

FinalYes

String wrapper that keeps track of how often the value was consumed.

This can be used to make decisions during runtime, depending on whether a provided value actually has been used (e.g. in rendered content).

Table of Contents

Properties

$b64  : string
$value  : string

Methods

__construct()  : mixed
__toString()  : string
consume()  : string
count()  : int

Properties

$b64 read-only

Deprecated

will be removed in TYPO3 v13.0, use ConsumableNonce::consume() or ConsumableNonce::$value instead

public string $b64
Internal

backward compatibility for Nonce::$b64

$value read-only

public string $value
Internal

use the consume() method instead

Methods

__construct()

public __construct([string|null $nonce = null ]) : mixed
Parameters
$nonce : string|null = null

__toString()

public __toString() : string
Return values
string

consume()

public consume() : string
Return values
string

count()

public count() : int
Return values
int

        
On this page

Search results