mirror of
https://github.com/danog/Valinor.git
synced 2024-11-27 04:34:48 +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 | ||
AttributesContainerTest.php | ||
ClassDefinitionTest.php | ||
CombinedAttributesTest.php | ||
DoctrineAnnotationsTest.php | ||
EmptyAttributesTest.php | ||
MethodDefinitionTest.php | ||
MethodsTest.php | ||
NativeAttributesTest.php | ||
ParameterDefinitionTest.php | ||
ParametersTest.php | ||
PropertiesTest.php | ||
PropertyDefinitionTest.php |