public static function merge(RecordInterface $left, RecordInterface $right)
    {
        return Record::fromArray(array_merge($left->getProperties(), $right->getProperties()), $right->getDisplayName());
    }
public static function merge(RecordInterface $left, RecordInterface $right)
    {
        return Record::fromArray(array_merge($left->getProperties(), $right->getProperties()), $right->getDisplayName());
    }
public static function merge ( RecordInterface $ left , RecordInterface $ right ) { return Record :: fromArray ( array_merge ( $ left -> getProperties ( ) , $ right -> getProperties ( ) ) , $ right -> getDisplayName ( ) ) ; }
Merges data from two records into a new record. The right record
overwrites values from the left record

@param \PSX\Record\RecordInterface $left
@param \PSX\Record\RecordInterface $right
@return \PSX\Record\RecordInterface
@deprecated
Merges data from two records into a new record . The right record overwrites values from the left record