activity/object/object.php
public function setDownstreamDuplicates(array $duplicates, $merge = true)
    {
        if ($merge) {
            $this->downstreamDuplicates = array_merge($this->downstreamDuplicates, $duplicates);
        } else {
            $this->downstreamDuplicates = $duplicates;
        }

        return $this;
    }
public function setDownstreamDuplicates(array $duplicates, $merge = true)
    {
        if ($merge) {
            $this->downstreamDuplicates = array_merge($this->downstreamDuplicates, $duplicates);
        } else {
            $this->downstreamDuplicates = $duplicates;
        }

        return $this;
    }
public function setDownstreamDuplicates ( array $ duplicates , $ merge = true ) { if ( $ merge ) { $ this -> downstreamDuplicates = array_merge ( $ this -> downstreamDuplicates , $ duplicates ) ; } else { $ this -> downstreamDuplicates = $ duplicates ; } return $ this ; }
Set the downstream duplicates.

@link http://activitystrea.ms/specs/json/1.0/#object See downstreamDuplicates property.

@param array $duplicates An array of {@link ComActivitiesActivityObjectInterface} objects.
@param bool  $merge      Tells if downstream duplicates should be replaced or merged with current existing
downstream duplicates.
@return ComActivitiesActivityObject
Set the downstream duplicates .