lib/components/types/Item.php
protected function distributeRelationships()
    {
        if (!$this->_init || is_null($this->object)) {
            return;
        }

        foreach ($this->object->children() as $key => $child) {
            $options = [];
            if (is_string($key)) {
                $options = $child;
                $child = $key;
            }
            $this->collector->addRelationship($this->systemId, $child, $options);
        }
        foreach ($this->object->parents() as $key => $parent) {
            $options = [];
            if (is_string($key)) {
                $options = $parent;
                $parent = $key;
            }
            $this->collector->addRelationship($parent, $this->systemId, $options);
        }
    }
protected function distributeRelationships()
    {
        if (!$this->_init || is_null($this->object)) {
            return;
        }

        foreach ($this->object->children() as $key => $child) {
            $options = [];
            if (is_string($key)) {
                $options = $child;
                $child = $key;
            }
            $this->collector->addRelationship($this->systemId, $child, $options);
        }
        foreach ($this->object->parents() as $key => $parent) {
            $options = [];
            if (is_string($key)) {
                $options = $parent;
                $parent = $key;
            }
            $this->collector->addRelationship($parent, $this->systemId, $options);
        }
    }
[[@doctodo method_description:distributeRelationships]].

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