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