lib/components/types/Relationship.php
public function setDefaultOptions()
    {
        foreach ($this->_defaultOptions as $k => $v) {
            if (!array_key_exists($k, $this->_options)) {
                $this->_options[$k] = $v;
            }
        }

        return true;
    }
public function setDefaultOptions()
    {
        foreach ($this->_defaultOptions as $k => $v) {
            if (!array_key_exists($k, $this->_options)) {
                $this->_options[$k] = $v;
            }
        }

        return true;
    }
Set default options.

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