ObjectHasAttribute.php Interfaces, Classes and Traits PHPUnit_Framework_Constraint_ObjectHasAttribute Constraint that asserts that the object it is evaluated for has a given attribute.