Inpsyde\MultilingualPress\Core\ImmutablePluginProperties::offsetGet PHP Method

offsetGet() public method

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