PHP Classes

File: Enum.php

Recommend this page to a friend!
  Classes of Fabian Schmengler  >  Typesafe Enum  >  Enum.php  
File: Enum.php
Role: Class source
Content type: text/plain
Description: Enum base class and generator
Class: Typesafe Enum
Implement enumerated values as class functions
Author: By
Last change: made __tostring overloadable (removed "final" keyword); added file_exists([...]Enum.php) in generated check files (useful if whole package path changed but generated files maintain)
Date: 11 years ago
Size: 13,096 bytes

You need to be a registered user and login to get this file.

1,596,442 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:

For more information send a message to info at phpclasses dot org.