Documentation

SaveSetting

Use case for saving a single setting with optional session clearing.

Used by the save_setting_redirect endpoint.

Tags
since
3.0.0

Table of Contents

Properties

$sessionCleaner  : SessionCleaner

Methods

__construct()  : mixed
Constructor.
execute()  : void
Execute the use case.

Properties

Methods

execute()

Execute the use case.

public execute(string $key, string $value) : void
Parameters
$key : string

Setting key

$value : string

Setting value


        
On this page

Search results