/** * Exclude object from result * * @param ChildTag $tag Object to remove from the list of results * * @return $this|ChildTagQuery The current query, for fluid interface */ public function prune($tag = null) { if ($tag) { $this->addUsingAlias(TagTableMap::COL_ID, $tag->getId(), Criteria::NOT_EQUAL); } return $this; }