File: MyBackedEnum.php

package info (click to toggle)
php-zumba-json-serializer 3.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 228 kB
  • sloc: php: 1,082; xml: 20; makefile: 13; sh: 7
file content (11 lines) | stat: -rw-r--r-- 181 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
<?php

namespace Zumba\JsonSerializer\Test\SupportEnums;

enum MyBackedEnum: string
{
    case Hearts = 'H';
    case Diamonds = 'D';
    case Clubs = 'C';
    case Spades = 'S';
}