public function merge(self $link)
    {
        $this->parameters = array_replace(
            $link->getParameters(),
            $this->parameters
        );

        $this->metadata = array_replace(
            $link->getMetadata(),
            $this->metadata
        );
    }
public function merge(self $link)
    {
        $this->parameters = array_replace(
            $link->getParameters(),
            $this->parameters
        );

        $this->metadata = array_replace(
            $link->getMetadata(),
            $this->metadata
        );
    }
public function merge ( self $ link ) { $ this -> parameters = array_replace ( $ link -> getParameters ( ) , $ this -> parameters ) ; $ this -> metadata = array_replace ( $ link -> getMetadata ( ) , $ this -> metadata ) ; }
Merge a link into this one

@param Link $link
Merge a link into this one