/** * @param Notificacion $notificacion The notificacion object to add. */ protected function doAddNotificacion($notificacion) { $this->collNotificacions[] = $notificacion; $notificacion->setTipo_notificacion($this); }