Documentation

ServiceLocalDataSource extends LocalDataSource
in package

Local data source for the template consumer which adds the "Real Cookie Banner" template to our data sources as this is never read through e.g. the service cloud.

Table of Contents

Properties

$consumer  : mixed
$createdDefaults  : mixed
$data  : mixed
$templates  : array<string|int, AbstractTemplate>
Templates.

Methods

__construct()  : mixed
C'tor.
add()  : mixed
Add template to this data source.
clearData()  : mixed
Clear all available data.
createDefaults()  : mixed
"Real Cookie Banner" template.
getConsumer()  : mixed
Getter.
getData()  : mixed
Getter.
retrieve()  : array<string|int, AbstractTemplate>
Retrieve all templates from data source (e.g. request to service cloud).
setData()  : mixed
Set data which could be reused by middlewares.

Properties

Methods

clearData()

Clear all available data.

public clearData() : mixed
Tags
codeCoverageIgnore

getData()

Getter.

public getData(string $key) : mixed
Parameters
$key : string
Tags
codeCoverageIgnore

setData()

Set data which could be reused by middlewares.

public setData(string $key, mixed $value) : mixed
Parameters
$key : string
$value : mixed
Tags
codeCoverageIgnore

        
On this page

Search results