Parameters
integer|string $key:
File
- drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Constraint/ArrayHasKey.php, line 74
Class
- PHPUnit_Framework_Constraint_ArrayHasKey
- Constraint that asserts that the array it is evaluated for has a given key.
Code
public function __construct($key) {
$this->key = $key;
}