public static function getInstancia() { if (self::$instancia == NULL) { self::$instancia = new Generador(); } return self::$instancia; }