public static function Argument::which in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpspec/prophecy/src/Prophecy/Argument.php \Prophecy\Argument::which()
Checks that argument object has specific state.
Parameters
string $methodName:
mixed $value:
Return value
Token\ObjectStateToken
File
- vendor/
phpspec/ prophecy/ src/ Prophecy/ Argument.php, line 55
Class
- Argument
- Argument tokens shortcuts.
Namespace
ProphecyCode
public static function which($methodName, $value) {
return new Token\ObjectStateToken($methodName, $value);
}