FluentDOM\Query\Data::__get PHP Метод

__get() публичный Метод

Read a data attribute from the attached node.
public __get ( string $name ) : mixed
$name string
Результат mixed
    public function __get($name)
    {
        $name = $this->encodeName($name);
        if ($this->_node->hasAttribute($name)) {
            return $this->decodeValue($this->_node->getAttribute($name));
        }
        return NULL;
    }