You are here

public static function Argument::not in Zircon Profile 8.0

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

Checks that argument does not match the value|token.

Parameters

mixed $value either exact value or argument token:

Return value

Token\LogicalNotToken

File

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

Class

Argument
Argument tokens shortcuts.

Namespace

Prophecy

Code

public static function not($value) {
  return new Token\LogicalNotToken($value);
}