Свойство | Тип | Описание | |
---|---|---|---|
$_description | array | Description reference of the last ::match() call. |
Метод | Описание | |
---|---|---|
_buildDescription ( string $actual, string $expected ) | Build the description of the runned ::match() call. | |
actual ( Closure $actual ) : string | Returns the output generated by the closure. | |
description ( ) | Returns the description report. | |
match ( Closure $actual, mixed $expected = null ) : boolean | Checks that $actual echo the $expected string. |
public static _buildDescription ( string $actual, string $expected ) | ||
$actual | string | The actual string. |
$expected | string | The expected string. |
public static description ( ) |
public static array $_description | ||
Результат | array |