You are here

public static function Argument::is in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/src/Prophecy/Argument.php \Prophecy\Argument::is()

Checks that argument is identical value.

Parameters

mixed $value:

Return value

Token\IdenticalValueToken

File

vendor/phpspec/prophecy/src/Prophecy/Argument.php, line 194

Class

Argument
Argument tokens shortcuts.

Namespace

Prophecy

Code

public static function is($value) {
  return new Token\IdenticalValueToken($value);
}