You are here

function containsOnlyInstancesOf in Zircon Profile 8

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

Returns a PHPUnit_Framework_Constraint_TraversableContainsOnly matcher object.

Parameters

string $classname:

Return value

PHPUnit_Framework_Constraint_TraversableContainsOnly

File

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

Code

function containsOnlyInstancesOf($classname) {
  return call_user_func_array('PHPUnit_Framework_Assert::containsOnlyInstancesOf', func_get_args());
}