| 1 | <?php |
||
| 12 | class Assert |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Asserts that a condition is true. |
||
| 16 | * |
||
| 17 | * @param PHPUnit_Framework_Constraint[] $constraints |
||
| 18 | * @param array $array |
||
| 19 | * @param string $message |
||
| 20 | * @throws PHPUnit_Framework_AssertionFailedError |
||
| 21 | */ |
||
| 22 | 1 | public static function assertArrayConstrained(array $constraints, array $array, $isStrict = true, $message = '') |
|
| 26 | |||
| 27 | /** |
||
| 28 | * Returns a Constraint\ConstrainArray matcher object. |
||
| 29 | * |
||
| 30 | * @return Constraint\ConstrainArray |
||
| 31 | */ |
||
| 32 | 1 | public static function constrainArray(array $constraints, $isStrict = true) |
|
| 36 | } |
||
| 37 |