You are here

public static function Argument::containing in Zircon Profile 8

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

Checks that argument array contains value

Parameters

mixed $value:

Return value

Token\ArrayEntryToken

File

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

Class

Argument
Argument tokens shortcuts.

Namespace

Prophecy

Code

public static function containing($value) {
  return new Token\ArrayEntryToken(self::any(), $value);
}