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