lib/components/dataInterface/DataItem.php
public function setCompanionObject($value)
    {
        if ($this->isForeign) {
            return $this->localObject = $value;
        } else {
            return $this->foreignObject = $value;
        }
    }
public function setCompanionObject($value)
    {
        if ($this->isForeign) {
            return $this->localObject = $value;
        } else {
            return $this->foreignObject = $value;
        }
    }
Set companion object.

@param [[@doctodo param_type:value]] $value [[@doctodo param_description:value]]

@return [[@doctodo return_type:setCompanionObject]] [[@doctodo return_description:setCompanionObject]]