Valinor/docs/pages/mapping
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
..
construction-strategy.md feat: introduce attribute DynamicConstructor 2022-08-30 15:15:41 +02:00
handled-types.md feat: add support for wildcard in enumeration type 2022-10-04 20:44:55 +02:00
inferring-interfaces.md feat!: handle exhaustive list of interface inferring 2022-06-17 18:03:27 +02:00
type-strictness.md doc: fix typo in code example 2022-09-30 13:12:12 +02:00