You are here

function objectHasAttribute in Zircon Profile 8

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

Returns a PHPUnit_Framework_Constraint_ObjectHasAttribute matcher object.

@since Method available since Release 3.0.0

Parameters

string $attributeName:

Return value

PHPUnit_Framework_Constraint_ObjectHasAttribute

File

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

Code

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