public function addParent($term_id, $parent_id)
    {
        $this->testCanAddParents($term_id, 1);

        $this->termHierarchyRepository->addParent($term_id, $parent_id);
    }
public function addParent($term_id, $parent_id)
    {
        $this->testCanAddParents($term_id, 1);

        $this->termHierarchyRepository->addParent($term_id, $parent_id);
    }
public function addParent ( $ term_id , $ parent_id ) { $ this -> testCanAddParents ( $ term_id , 1 ) ; $ this -> termHierarchyRepository -> addParent ( $ term_id , $ parent_id ) ; }
Add one parent to a term

@param int $term_id
@param int $parent_id
Add one parent to a term