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