elliotchance / elliotchance/concise
Invocation::getArgument() with named arguments
Open
Component: Mocking
Size: 2 (Medium)
Type: Improvement
- Dominant language
- PHP
- Stars
- 45
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
``` php
->expect('post')->andDo(
function (Invocation $i) {
$this->assert($i->getArgument('argName'), equals, 1);
}
)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.