src/Metable.php
public function getMeta(string $key, $default = null)
    {
        if ($this->hasMeta($key)) {
            return $this->getMetaRecord($key)->getAttribute('value');
        }

        return $default;
    }
public function getMeta(string $key, $default = null)
    {
        if ($this->hasMeta($key)) {
            return $this->getMetaRecord($key)->getAttribute('value');
        }

        return $default;
    }
public function getMeta ( string $ key , $ default = null ) { if ( $ this -> hasMeta ( $ key ) ) { return $ this -> getMetaRecord ( $ key ) -> getAttribute ( 'value' ) ; } return $ default ; }
Retrieve the value of the `Meta` at a given key.

@param string $key
@param mixed  $default Fallback value if no Meta is found.

@return mixed
Retrieve the value of the Meta at a given key .