function classHasAttribute

Returns a PHPUnit_Framework_Constraint_ClassHasAttribute matcher object.

@since Method available since Release 3.1.0

Parameters

string $attributeName:

Return value

PHPUnit_Framework_Constraint_ClassHasAttribute

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php, line 1846

Code

function classHasAttribute($attributeName) {
  return call_user_func_array('PHPUnit_Framework_Assert::classHasAttribute', func_get_args());
}