function ParametersMatch::withAnyParameters
Sets a rule which allows any kind of parameters.
Some examples: <code> // match any number of parameters $b->withAnyParameters(); </code>
1 method overrides ParametersMatch::withAnyParameters()
- InvocationMocker::withAnyParameters in vendor/
phpunit/ phpunit/ src/ Framework/ MockObject/ Runtime/ Builder/ InvocationMocker.php
File
-
vendor/
phpunit/ phpunit/ src/ Framework/ MockObject/ Runtime/ Builder/ ParametersMatch.php, line 50
Class
- ParametersMatch
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\Framework\MockObject\BuilderCode
public function withAnyParameters() : self;