PHP enum implementation
27.25 KB
built 2026-10-17 03:10:37 GMT
Description
It is a well known fact that PHP is missing a basic enum type, ignoring the
rather incomplete SplEnum implementation which is only available as a PECL
extension. There are also quite a few other userland enum implementations
around, but all of them have one or another compromise. This library tries to
close that gap as far as PHP allows it to.
Autoloader: /usr/share/php/DASPRiD/Enum/autoload.php
Dependencies
8 totalRequires7
- /usr/bin/phpunit10
- php(language)
- php-composer(fedora/autoloader)
- php-reflection
- php-spl
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides1
- php-dasprid-enum = 1.0.7-3.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
3Name ![]() |
Size |
|---|---|
| makesrc.sh | 776.00 B |
| php-dasprid-enum-1.0.7-b5874fa.tgz | 11.18 KB |
| php-dasprid-enum.spec | 6.23 KB |
Files 1–3 of 3
Component of
buildroots that installed this RPMNo Buildroots
