PHP Classes

File: src/DataTypes/DataType.php

Recommend this page to a friend!
  Packages of Amirreza Ebrahimi   HeroQR Powerful PHP QR Code Library to generate PNG, SVG, PDF, Logos Ready to Use with Laravel   src/DataTypes/DataType.php   Download  
File: src/DataTypes/DataType.php
Role: Class source
Content type: text/plain
Description: Class source
Class: HeroQR Powerful PHP QR Code Library to generate PNG, SVG, PDF, Logos Ready to Use with Laravel
Generate QR code images in several formats
Author: By
Last change: feat: add SVG customization support for shapes, markers, and cursors (previously only PNG)
Date: 15 days ago
Size: 482 bytes
 

Contents

Class file image Download
<?php

namespace HeroQR\DataTypes;

/**
 * Represents all supported data types in HeroQR
 *
 * Each enum value holds the corresponding class name for validation and generation
 */
enum DataType: string
{
    case
None = NoneValidator::class;
    case
Text = TextValidator::class;
    case
Url = UrlValidator::class;
    case
Email = EmailValidator::class;
    case
Phone = PhoneValidator::class;
    case
Wifi = WifiValidator::class;
    case
Location = LocationValidator::class;
}