public function removeChild($parent, $child)
    {
        $result = $this->db->createCommand()
            ->delete($this->itemChildTable, ['parent' => $parent->name, 'child' => $child->name])
            ->execute() > 0;

        $this->invalidateCache();

        return $result;
    }
public function removeChild($parent, $child)
    {
        $result = $this->db->createCommand()
            ->delete($this->itemChildTable, ['parent' => $parent->name, 'child' => $child->name])
            ->execute() > 0;

        $this->invalidateCache();

        return $result;
    }
public function removeChild ( $ parent , $ child ) { $ result = $ this -> db -> createCommand ( ) -> delete ( $ this -> itemChildTable , [ 'parent' => $ parent -> name , 'child' => $ child -> name ] ) -> execute ( ) > 0 ; $ this -> invalidateCache ( ) ; return $ result ; }
{@inheritdoc}
{