You are here

function classHasAttribute in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Assert/Functions.php \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

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

Code

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