$arguments =
$this->factory->
createArgumentMetadata($this->
signature4(...
));
$this->
assertEquals([ new ArgumentMetadata('foo', null, false, true, 'default'
),
new ArgumentMetadata('bar', null, false, true, 500
),
new ArgumentMetadata('baz', null, false, true,
[]),
],
$arguments);
} public function testSignature5() { $arguments =
$this->factory->
createArgumentMetadata($this->
signature5(...
));
$this->
assertEquals([ new ArgumentMetadata('foo', 'array', false, true, null, true
),
new ArgumentMetadata('bar', null, false, true, null, true
),
],
$arguments);
} public function testVariadicSignature() { $arguments =
$this->factory->
createArgumentMetadata([new VariadicController(), 'action'
]);