The most common solution that I have seen to enum's in PHP has been to create a generic enum class and then extend it. You might take a look at thisthis.
UPDATE: Alternatively, I found this from phpclasses.org.
The most common solution that I have seen to enum's in PHP has been to create a generic enum class and then extend it. You might take a look at this.
UPDATE: Alternatively, I found this from phpclasses.org.
The most common solution that I have seen to enum's in PHP has been to create a generic enum class and then extend it. You might take a look at this.
UPDATE: Alternatively, I found this from phpclasses.org.