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