function attribute in Zircon Profile 8.0
Same name and namespace in other branches
Returns a PHPUnit_Framework_Constraint_Attribute matcher object.
@since Method available since Release 3.1.0
Parameters
PHPUnit_Framework_Constraint $constraint:
string $attributeName:
Return value
PHPUnit_Framework_Constraint_Attribute
27 string references to 'attribute'
- AttributeMetadataTest::testSerialize in vendor/
symfony/ serializer/ Tests/ Mapping/ AttributeMetadataTest.php - AttributeNodeTest::getSpecificityValueTestData in vendor/
symfony/ css-selector/ Tests/ Node/ AttributeNodeTest.php - AttributeNodeTest::getToStringConversionTestData in vendor/
symfony/ css-selector/ Tests/ Node/ AttributeNodeTest.php - BlacklistTest::testClassCanBeBlacklisted in vendor/
sebastian/ global-state/ tests/ BlacklistTest.php - BlacklistTest::testClassNamePrefixesCanBeBlacklisted in vendor/
sebastian/ global-state/ tests/ BlacklistTest.php
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Assert/ Functions.php, line 1799
Code
function attribute(PHPUnit_Framework_Constraint $constraint, $attributeName) {
return call_user_func_array('PHPUnit_Framework_Assert::attribute', func_get_args());
}