PHP Classes

File: tests/utils/EnumObject.php

Recommend this page to a friend!
  Classes of Andrey Postal   PHP JSON Handler   tests/utils/EnumObject.php   Download  
File: tests/utils/EnumObject.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: PHP JSON Handler
Process value objects to convert to JSON format
Author: By
Last change:
Date: 3 days ago
Size: 210 bytes
 

Contents

Class file image Download
<?php

use Andrey\JsonHandler\Attributes\JsonItemAttribute;
use
Andrey\JsonHandler\Attributes\JsonObjectAttribute;

enum EnumObject: string
{
    case
Abc = 'abc';
    case
Aaa = 'aaa';
    case
Bbb = 'bbb';
}