You are here

function containsOnly in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Assert/Functions.php \containsOnly()

Returns a PHPUnit_Framework_Constraint_TraversableContainsOnly matcher object.

@since Method available since Release 3.1.4

Parameters

string $type:

Return value

PHPUnit_Framework_Constraint_TraversableContainsOnly

File

vendor/phpunit/phpunit/src/Framework/Assert/Functions.php, line 1900

Code

function containsOnly($type) {
  return call_user_func_array('PHPUnit_Framework_Assert::containsOnly', func_get_args());
}