Feature #52707
closedIntroduce a PHP Enum implementation
100%
Description
We need a basic implementation of an enumeration object. We can't use SplEnum because that would require PECL spl_types >= 0.1.0.
Updated by Sascha Egerer over 10 years ago
This will be implemented like this
https://gist.github.com/tmaroschik/60d83f4b4eda2c646399
Usage example:
https://gist.github.com/tmaroschik/704a57c56b30e50845b7
Updated by Gerrit Code Review over 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24598
Updated by Gerrit Code Review over 10 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24598
Updated by Gerrit Code Review over 10 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24598
Updated by Gerrit Code Review over 10 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24598
Updated by Anonymous over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 7ee32ff1a158853267244c6f667ee829a23f76c5.