/** * Exclude object from result * * @param Amistad $amistad Object to remove from the list of results * * @return AmistadQuery The current query, for fluid interface */ public function prune($amistad = null) { if ($amistad) { $this->addUsingAlias(AmistadPeer::ID, $amistad->getId(), Criteria::NOT_EQUAL); } return $this; }