mirror of
https://github.com/danog/Valinor.git
synced 2024-11-26 20:24:40 +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']); ``` |
||
---|---|---|
.. | ||
Definition/Repository/Cache/Compiler | ||
Type/Parser/Lexer |