hydrator
hydrator copied to clipboard
Create and populate objects with type casting, mapping and dependencies resolving support.
```php class A { private string $var; } class B { private A $a; } $data = [ 'key' => 'test', ]; ``` Need to be able to specify that...
A collector for debugging is needed. Similar to https://github.com/yiisoft/validator/blob/master/src/Debug/ValidatorCollector.php is enough for the first iteration In general would be nice to collect: - [ ] In-out hydration result: `['service', '5']...
With cached reflection we can use it to write properties instead of `Closure::bind`.
Add friendly exception for a case when not a class string used in `$class` with `Hydrator::create()`
https://github.com/yiisoft/hydrator/pull/1#discussion_r1184671275
Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version. Release notes Sourced from rector/rector's releases. Released Rector 1.1.0 New Features :partying_face: [PHPStan] Bump to PHPStan 1.11 (#5883) Bugfixes :bug:...
@samdark's suggestion. Extracted from https://github.com/yiisoft/hydrator/pull/90#discussion_r1704574760.