Inpsyde\MultilingualPress\Core\ImmutablePluginProperties::offsetGet PHP Méthode

offsetGet() public méthode

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.
Résultat 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];
    }