Jyxo\HtmlTag::__get PHP Method

__get() public method

Returns an attribute value.
public __get ( string $name ) : mixed
$name string Attribute name
return mixed string|null
    public function __get(string $name)
    {
        // An empty attribute is always null
        return isset($this->attributes[$name]) ? $this->attributes[$name] : null;
    }