mirror of
https://github.com/danog/Valinor.git
synced 2024-11-30 04:39:05 +01:00
b6b3296638
Using variadic parameters is now handled properly by the library, meaning the following example will run: ```php final class SomeClass { /** @var string[] */ private array $values; public function __construct(string ...$values) { $this->values = $values; } } (new \CuyZ\Valinor\MapperBuilder()) ->mapper() ->map(SomeClass::class, ['foo', 'bar', 'baz']); ``` |
||
---|---|---|
.. | ||
Repository | ||
FakeAttributes.php | ||
FakeClassDefinition.php | ||
FakeMethodDefinition.php | ||
FakeNonEmptyAttributes.php | ||
FakeParameterDefinition.php | ||
FakePropertyDefinition.php |