You are here

public function PHPUnit_Framework_Constraint_JsonMatches::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Constraint/JsonMatches.php \PHPUnit_Framework_Constraint_JsonMatches::__construct()

Creates a new constraint.

Parameters

string $value:

Overrides PHPUnit_Framework_Constraint::__construct

File

vendor/phpunit/phpunit/src/Framework/Constraint/JsonMatches.php, line 28

Class

PHPUnit_Framework_Constraint_JsonMatches
Asserts whether or not two JSON objects are equal.

Code

public function __construct($value) {
  parent::__construct();
  $this->value = $value;
}