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