src/Node/Node.php
public function getMetadata(): Data
    {
        if ($this->_metadata === null) {
            $this->_metadata = new Data();

            $this->setMetadata([]);
        }

        return $this->_metadata;
    }
public function getMetadata(): Data
    {
        if ($this->_metadata === null) {
            $this->_metadata = new Data();

            $this->setMetadata([]);
        }

        return $this->_metadata;
    }
public function getMetadata ( ) : Data { if ( $ this -> _metadata === null ) { $ this -> _metadata = new Data ( ) ; $ this -> setMetadata ( [ ] ) ; } return $ this -> _metadata ; }
Returns the value of field _metadata.

@return Data
Returns the value of field _metadata .