src/model/Base/Skill.php
public function removeSkillRelatedByDependencyId(ChildSkill $skillRelatedByDependencyId)
    {
        if ($this->getSkillsRelatedByDependencyId()->contains($skillRelatedByDependencyId)) { $skillDependency = new ChildSkillDependency();

            $skillDependency->setSkillRelatedByDependencyId($skillRelatedByDependencyId);
            if ($skillRelatedByDependencyId->isSkillRelatedByParentIdsLoaded()) {
                //remove the back reference if available
                $skillRelatedByDependencyId->getSkillRelatedByParentIds()->removeObject($this);
            }

            $skillDependency->setSkillRelatedByParentId($this);
            $this->removeParent(clone $skillDependency);
            $skillDependency->clear();

            $this->collSkillsRelatedByDependencyId->remove($this->collSkillsRelatedByDependencyId->search($skillRelatedByDependencyId));

            if (null === $this->skillsRelatedByDependencyIdScheduledForDeletion) {
                $this->skillsRelatedByDependencyIdScheduledForDeletion = clone $this->collSkillsRelatedByDependencyId;
                $this->skillsRelatedByDependencyIdScheduledForDeletion->clear();
            }

            $this->skillsRelatedByDependencyIdScheduledForDeletion->push($skillRelatedByDependencyId);
        }


        return $this;
    }
public function removeSkillRelatedByDependencyId(ChildSkill $skillRelatedByDependencyId)
    {
        if ($this->getSkillsRelatedByDependencyId()->contains($skillRelatedByDependencyId)) { $skillDependency = new ChildSkillDependency();

            $skillDependency->setSkillRelatedByDependencyId($skillRelatedByDependencyId);
            if ($skillRelatedByDependencyId->isSkillRelatedByParentIdsLoaded()) {
                //remove the back reference if available
                $skillRelatedByDependencyId->getSkillRelatedByParentIds()->removeObject($this);
            }

            $skillDependency->setSkillRelatedByParentId($this);
            $this->removeParent(clone $skillDependency);
            $skillDependency->clear();

            $this->collSkillsRelatedByDependencyId->remove($this->collSkillsRelatedByDependencyId->search($skillRelatedByDependencyId));

            if (null === $this->skillsRelatedByDependencyIdScheduledForDeletion) {
                $this->skillsRelatedByDependencyIdScheduledForDeletion = clone $this->collSkillsRelatedByDependencyId;
                $this->skillsRelatedByDependencyIdScheduledForDeletion->clear();
            }

            $this->skillsRelatedByDependencyIdScheduledForDeletion->push($skillRelatedByDependencyId);
        }


        return $this;
    }
public function removeSkillRelatedByDependencyId ( ChildSkill $ skillRelatedByDependencyId ) { if ( $ this -> getSkillsRelatedByDependencyId ( ) -> contains ( $ skillRelatedByDependencyId ) ) { $ skillDependency = new ChildSkillDependency ( ) ; $ skillDependency -> setSkillRelatedByDependencyId ( $ skillRelatedByDependencyId ) ; if ( $ skillRelatedByDependencyId -> isSkillRelatedByParentIdsLoaded ( ) ) { //remove the back reference if available $ skillRelatedByDependencyId -> getSkillRelatedByParentIds ( ) -> removeObject ( $ this ) ; } $ skillDependency -> setSkillRelatedByParentId ( $ this ) ; $ this -> removeParent ( clone $ skillDependency ) ; $ skillDependency -> clear ( ) ; $ this -> collSkillsRelatedByDependencyId -> remove ( $ this -> collSkillsRelatedByDependencyId -> search ( $ skillRelatedByDependencyId ) ) ; if ( null === $ this -> skillsRelatedByDependencyIdScheduledForDeletion ) { $ this -> skillsRelatedByDependencyIdScheduledForDeletion = clone $ this -> collSkillsRelatedByDependencyId ; $ this -> skillsRelatedByDependencyIdScheduledForDeletion -> clear ( ) ; } $ this -> skillsRelatedByDependencyIdScheduledForDeletion -> push ( $ skillRelatedByDependencyId ) ; } return $ this ; }
Remove skillRelatedByDependencyId of this object
through the kk_trixionary_skill_dependency cross reference table.

@param ChildSkill $skillRelatedByDependencyId
@return ChildSkill The current object (for fluent API support)
Remove skillRelatedByDependencyId of this object through the kk_trixionary_skill_dependency cross reference table .