Register

FinalYes

A simple key/value store. See class RegisterStack for more information.

Internal

This class is not part of the TYPO3 Core API

Table of Contents

Methods

get()  : string|int|bool|float|null
set()  : void
Unable to deal with objects, accepts simple types only.

Methods

get()

public get(string $key[, string|int|bool|float|null $default = null ]) : string|int|bool|float|null
Parameters
$key : string
$default : string|int|bool|float|null = null
Return values
string|int|bool|float|null

set()

Unable to deal with objects, accepts simple types only.

public set(string $key, string|int|bool|float $value) : void

This is done by intention to not run into issues if this state needs to be serialized (cached).

Parameters
$key : string
$value : string|int|bool|float

        
On this page

Search results