You are here

public static function Argument::allOf in Zircon Profile 8

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

Checks that argument matches all tokens

Parameters

mixed ... a list of tokens:

Return value

Token\LogicalAndToken

File

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

Class

Argument
Argument tokens shortcuts.

Namespace

Prophecy

Code

public static function allOf() {
  return new Token\LogicalAndToken(func_get_args());
}