public static function Argument::that in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/src/Prophecy/Argument.php \Prophecy\Argument::that()
Checks that argument matches provided callback.
Parameters
callable $callback:
Return value
Token\CallbackToken
File
- vendor/
phpspec/ prophecy/ src/ Prophecy/ Argument.php, line 67
Class
- Argument
- Argument tokens shortcuts.
Namespace
ProphecyCode
public static function that($callback) {
return new Token\CallbackToken($callback);
}