Inpsyde\MultilingualPress\Common\Nonce\OriginalRequestContext::offsetGet PHP Method

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.
    public function offsetGet($name)
    {
        if ($this->offsetExists($name)) {
            return $this->cache[$name];
        }
        throw ContextValueNotSetException::for_name($name, 'read');
    }