You are here

function assertAttributeContainsOnly in Zircon Profile 8

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

Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object contains only values of a given type.

@since Method available since Release 3.1.4

Parameters

string $type:

string $haystackAttributeName:

mixed $haystackClassOrObject:

bool $isNativeType:

string $message:

File

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

Code

function assertAttributeContainsOnly($type, $haystackAttributeName, $haystackClassOrObject, $isNativeType = null, $message = '') {
  return call_user_func_array('PHPUnit_Framework_Assert::assertAttributeContainsOnly', func_get_args());
}