Valinor/tests/Fixture/Enum
Romain Canon 69ebd19ee8 feat: add support for wildcard in enumeration type
This notation can be used when several cases in an enum share a common
prefix.

```php
enum SomeEnum: string
{
    case FOO = 'foo';
    case BAR = 'bar';
    case BAZ = 'baz';
}

$mapper = (new MapperBuilder())->mapper();

$mapper->map('SomeEnum::BA*', 'foo'); // error
$mapper->map('SomeEnum::BA*', 'bar'); // ok
$mapper->map('SomeEnum::BA*', 'baz'); // ok
```
2022-10-04 20:44:55 +02:00
..
BackedIntegerEnum.php feat: add support for wildcard in enumeration type 2022-10-04 20:44:55 +02:00
BackedStringEnum.php feat: add support for wildcard in enumeration type 2022-10-04 20:44:55 +02:00
ClassWithBackedStringEnum.php feat!: make mapper more strict and allow flexible mode 2022-06-23 10:30:36 +02:00
PureEnum.php feat: add support for wildcard in enumeration type 2022-10-04 20:44:55 +02:00