src/Node/Node.php
public function setMetadataAttr(string $attr, $value, array $options = [])
    {
        $this->getMetadata()->set($attr, $value, $options);

        return $this;
    }
public function setMetadataAttr(string $attr, $value, array $options = [])
    {
        $this->getMetadata()->set($attr, $value, $options);

        return $this;
    }
public function setMetadataAttr ( string $ attr , $ value , array $ options = [ ] ) { $ this -> getMetadata ( ) -> set ( $ attr , $ value , $ options ) ; return $ this ; }
Sets a metadata attribute.

@param string $attr - Attribute.
@param mixed $value - Value.
@param array $options - Options.

@return $this
Sets a metadata attribute .