public function getMetadataAttribute(string $name)
    {
        if (array_key_exists($name, $this->metadata)) {
            return $this->metadata[$name];
        }

        throw new MetadataAttributeNotFoundException($this, $name);
    }
public function getMetadataAttribute(string $name)
    {
        if (array_key_exists($name, $this->metadata)) {
            return $this->metadata[$name];
        }

        throw new MetadataAttributeNotFoundException($this, $name);
    }
public function getMetadataAttribute ( string $ name ) { if ( array_key_exists ( $ name , $ this -> metadata ) ) { return $ this -> metadata [ $ name ] ; } throw new MetadataAttributeNotFoundException ( $ this , $ name ) ; }
Get attribute of metadata

@param string $name
@return mixed
Get attribute of metadata