You are here

function assertContainsOnly in Zircon Profile 8

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

Asserts that a haystack contains only values of a given type.

@since Method available since Release 3.1.4

Parameters

string $type:

mixed $haystack:

bool $isNativeType:

string $message:

File

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

Code

function assertContainsOnly($type, $haystack, $isNativeType = null, $message = '') {
  return call_user_func_array('PHPUnit_Framework_Assert::assertContainsOnly', func_get_args());
}