You are here

public static function Argument::exact in Zircon Profile 8

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

Checks that argument is exact value or object.

Parameters

mixed $value:

Return value

Token\ExactValueToken

File

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

Class

Argument
Argument tokens shortcuts.

Namespace

Prophecy

Code

public static function exact($value) {
  return new Token\ExactValueToken($value);
}