public function addMetaData(array $metadata)
    {
        $this->metaData = array_replace_recursive($this->metaData, $metadata);
        $this->metaData = $this->removeNullElements($this->metaData);

        return $this;
    }
public function addMetaData(array $metadata)
    {
        $this->metaData = array_replace_recursive($this->metaData, $metadata);
        $this->metaData = $this->removeNullElements($this->metaData);

        return $this;
    }
public function addMetaData ( array $ metadata ) { $ this -> metaData = array_replace_recursive ( $ this -> metaData , $ metadata ) ; $ this -> metaData = $ this -> removeNullElements ( $ this -> metaData ) ; return $ this ; }
Adds a tab to the meta data.
Conflicting keys will be merged if able, otherwise the new values will be accepted.
Null values will be deleted from the metadata.

@param array[] $metadata an array of custom data to attach to the report

@return $this
Adds a tab to the meta data . Conflicting keys will be merged if able otherwise the new values will be accepted . Null values will be deleted from the metadata .