/** * Exclude object from result * * @param ChildOrderComment $orderComment Object to remove from the list of results * * @return ChildOrderCommentQuery The current query, for fluid interface */ public function prune($orderComment = null) { if ($orderComment) { $this->addUsingAlias(OrderCommentTableMap::ID, $orderComment->getId(), Criteria::NOT_EQUAL); } return $this; }