You are here

public static function Argument::any in Zircon Profile 8

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

Matches any single value.

Return value

Token\AnyValueToken

2 calls to Argument::any()
Argument::containing in vendor/phpspec/prophecy/src/Prophecy/Argument.php
Checks that argument array contains value
Argument::withKey in vendor/phpspec/prophecy/src/Prophecy/Argument.php
Checks that argument array has key

File

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

Class

Argument
Argument tokens shortcuts.

Namespace

Prophecy

Code

public static function any() {
  return new Token\AnyValueToken();
}