@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace MabeEnum; |
| 4 | 4 | |
| 5 | -use ReflectionClass; |
|
| 6 | 5 | use InvalidArgumentException; |
| 7 | 6 | use LogicException; |
| 7 | +use ReflectionClass; |
|
| 8 | 8 | |
| 9 | 9 | /** |
| 10 | 10 | * Class to implement enumerations for PHP 5 (without SplEnum) |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace MabeEnum; |
| 4 | 4 | |
| 5 | -use RuntimeException; |
|
| 6 | 5 | use LogicException; |
| 6 | +use RuntimeException; |
|
| 7 | 7 | |
| 8 | 8 | /** |
| 9 | 9 | * Trait to make enumerations serializable |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace MabeEnum; |
| 4 | 4 | |
| 5 | -use SplObjectStorage; |
|
| 6 | 5 | use InvalidArgumentException; |
| 6 | +use SplObjectStorage; |
|
| 7 | 7 | |
| 8 | 8 | /** |
| 9 | 9 | * A map of enumerator keys of the given enumeration (EnumMap<T>) |
@@ -3,8 +3,8 @@ |
||
| 3 | 3 | namespace MabeEnum; |
| 4 | 4 | |
| 5 | 5 | use Countable; |
| 6 | -use Iterator; |
|
| 7 | 6 | use InvalidArgumentException; |
| 7 | +use Iterator; |
|
| 8 | 8 | |
| 9 | 9 | /** |
| 10 | 10 | * A set of enumerators of the given enumeration (EnumSet<T>) |