public static function Argument::withEntry in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/src/Prophecy/Argument.php \Prophecy\Argument::withEntry()
Checks that argument array contains (key, value) pair
Parameters
mixed $key exact value or token:
mixed $value exact value or token:
Return value
Token\ArrayEntryToken
File
- vendor/
phpspec/ prophecy/ src/ Prophecy/ Argument.php, line 124
Class
- Argument
- Argument tokens shortcuts.
Namespace
ProphecyCode
public static function withEntry($key, $value) {
return new Token\ArrayEntryToken($key, $value);
}