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