src/Domain/Messaging/MetaData.php
public function merge(MetaData $data): void
    {
        foreach ($data->toArray() as $key => $value) {
            $this->set($key, $value);
        }
    }
public function merge(MetaData $data): void
    {
        foreach ($data->toArray() as $key => $value) {
            $this->set($key, $value);
        }
    }
public function merge ( MetaData $ data ) : void { foreach ( $ data -> toArray ( ) as $ key => $ value ) { $ this -> set ( $ key , $ value ) ; } }
Merges the given meta data

@param MetaData $data The meta data

@return void
Merges the given meta data