Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 360 Bytes

README.md

File metadata and controls

7 lines (6 loc) · 360 Bytes

What is that?

A few lightweight classes to ease working with enums, with very small run-time performance impact.

How to use

  1. Run composer require exsyst/mini-enum in your project ;
  2. Derive your enum classes containing standalone values from EXSyst\MiniEnum\Enum ;
  3. Derive your enum classes containing bit masks from EXSyst\MiniEnum\FlagsEnum.