public function addMetaData(string $key, array $values)
    {
        if (!isset($this->metaData[$key])) {
            $this->metaData[$key] = [];
        }

        $this->metaData[$key][] = $values; return $this;
    }
public function addMetaData(string $key, array $values)
    {
        if (!isset($this->metaData[$key])) {
            $this->metaData[$key] = [];
        }

        $this->metaData[$key][] = $values; return $this;
    }
public function addMetaData ( string $ key , array $ values ) { if ( ! isset ( $ this -> metaData [ $ key ] ) ) { $ this -> metaData [ $ key ] = [ ] ; } $ this -> metaData [ $ key ] [ ] = $ values ; return $ this ; }
Sets meta data for the given key

@param string        $key
@param array         $values
@return self
Sets meta data for the given key