PHP Class Inpsyde\MultilingualPress\Common\Nonce\RequestContext

Since: 3.0.0
Inheritance: implements Context
Exibir arquivo Open project: inpsyde/multilingual-press

Public Methods

Method Description
__construct ( ) Constructor. Sets up the properties.
offsetExists ( mixed $name ) : boolean Checks if a value with the given name exists.
offsetGet ( string $name ) : mixed Returns the value with the given name.
offsetSet ( string $name, mixed $value ) : void Stores the given value with the given name.
offsetUnset ( string $name ) : void Removes the value with the given name.

Method Details

__construct() public method

Constructor. Sets up the properties.
Since: 3.0.0
public __construct ( )

offsetExists() public method

Checks if a value with the given name exists.
Since: 3.0.0
public offsetExists ( mixed $name ) : boolean
$name mixed The name of a value.
return boolean Whether or not a value with the given name exists.

offsetGet() public method

Returns the value with the given name.
Since: 3.0.0
public offsetGet ( string $name ) : mixed
$name string The name of a value.
return mixed The value with the given name.

offsetSet() public method

Manipulating values is not allowed.
Since: 3.0.0
public offsetSet ( string $name, mixed $value ) : void
$name string The name of a value.
$value mixed The value.
return void

offsetUnset() public method

Manipulating values is not allowed.
Since: 3.0.0
public offsetUnset ( string $name ) : void
$name string The name of a value.
return void