Inpsyde\MultilingualPress\Common\Nonce\OriginalRequestContext::offsetGet PHP Méthode

offsetGet() public méthode

Returns the value with the given name.
Since: 3.0.0
public offsetGet ( string $name ) : mixed
$name string The name of a value.
Résultat mixed The value with the given name.
    public function offsetGet($name)
    {
        if ($this->offsetExists($name)) {
            return $this->cache[$name];
        }
        throw ContextValueNotSetException::for_name($name, 'read');
    }