private function validarEmail($conexion, $email) { if (!$this->variableIniciada($email)) { return 'Debes proporcionar un Email.'; } else { $this->email = $email; } if (RepositorioUsuario::emailExiste($conexion, $email)) { return "Este Email ya está en uso, Por favor, prueba con otro Email o <a href='#'>Intente Recuperar su Contraseña</a>."; } return ""; }