You are here

public function PHPUnit_Framework_Constraint_Attribute::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/phpunit/src/Framework/Constraint/Attribute.php \PHPUnit_Framework_Constraint_Attribute::__construct()

Parameters

PHPUnit_Framework_Constraint $constraint:

string $attributeName:

Overrides PHPUnit_Framework_Constraint_Composite::__construct

File

vendor/phpunit/phpunit/src/Framework/Constraint/Attribute.php, line 25

Class

PHPUnit_Framework_Constraint_Attribute
@since Class available since Release 3.1.0

Code

public function __construct(PHPUnit_Framework_Constraint $constraint, $attributeName) {
  parent::__construct($constraint);
  $this->attributeName = $attributeName;
}