You are here

function isInstanceOf in Zircon Profile 8

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

Returns a PHPUnit_Framework_Constraint_IsInstanceOf matcher object.

@since Method available since Release 3.0.0

Parameters

string $className:

Return value

PHPUnit_Framework_Constraint_IsInstanceOf

File

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

Code

function isInstanceOf($className) {
  return call_user_func_array('PHPUnit_Framework_Assert::isInstanceOf', func_get_args());
}