php-common-enums/hour-of-day

Provides a backed enum for hours of a day

v1.0.0 2022-06-02 17:36 UTC

This package is auto-updated.

Last update: 2024-05-30 00:53:57 UTC


README

Provides a backed enum for hours of the day.

Prerequisites

Since backed enumerations were introduced in PHP 8.1, you will need at least that version of PHP.

Installing

$ composer require php-common-enums/hour-of-day

Contributing

Please read CODE_OF_CONDUCT.md for details on our code of conduct.

Please read CONTRIBUTING.md for details on the process for submitting pull requests and/or new backed enums to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the MIT License - see the LICENSE file for details