PHP Classes

File: tests/Units/DTO/ColorEnum.php

Recommend this page to a friend!
  Classes of Andrey Iatsenko   PHP Plain Object with Class Variables Set from Array Values   tests/Units/DTO/ColorEnum.php   Download  
File: tests/Units/DTO/ColorEnum.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Plain Object with Class Variables Set from Array Values
Initialize data objects from arrays of values
Author: By
Last change:
Date: 11 months ago
Size: 127 bytes
 

Contents

Class file image Download
<?php

namespace Tests\Units\DTO;

/**
 * Class ColorEnum
 */
enum ColorEnum
{
    case
Red;
    case
Black;
    case
White;
}