public function getMeta($name)
    {
        if (!$this->hasMeta($name)) {
            throw new InvalidArgumentException('Meta data with name "'.$name.'" does not exists.');
        }

        $meta = $this->objectData('meta', []);

        return $meta[$this->sanitizeMetaName($name)];
    }
public function getMeta($name)
    {
        if (!$this->hasMeta($name)) {
            throw new InvalidArgumentException('Meta data with name "'.$name.'" does not exists.');
        }

        $meta = $this->objectData('meta', []);

        return $meta[$this->sanitizeMetaName($name)];
    }
public function getMeta ( $ name ) { if ( ! $ this -> hasMeta ( $ name ) ) { throw new InvalidArgumentException ( 'Meta data with name "' . $ name . '" does not exists.' ) ; } $ meta = $ this -> objectData ( 'meta' , [ ] ) ; return $ meta [ $ this -> sanitizeMetaName ( $ name ) ] ; }
Returns meta data.

@param string $name Meta name

@throws \InvalidArgumentException

@return mixed
Returns meta data .