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