Valinor/docs/pages/mapping
Romain Canon 1244c2d68f feat: add support for class constant type
This notation is mainly useful when several cases in constants of a
class share a common prefix.

```php
final class SomeClassWithConstants
{
    public const FOO = 1337;

    public const BAR = 'bar';

    public const BAZ = 'baz';
}

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

$mapper->map('SomeClassWithConstants::BA*', 1337); // error
$mapper->map('SomeClassWithConstants::BA*', 'bar'); // ok
$mapper->map('SomeClassWithConstants::BA*', 'baz'); // ok
```
2022-10-04 22:15:02 +02:00
..
construction-strategy.md feat: introduce attribute DynamicConstructor 2022-08-30 15:15:41 +02:00
handled-types.md feat: add support for class constant type 2022-10-04 22:15:02 +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