Méthode | Description | |
---|---|---|
__construct ( mixed $value, string $message = '%s' ) | Sets the value to compare against. | |
test ( mixed $compare ) : boolean | Tests the expectation. True if it matches the held value. | |
testMessage ( mixed $compare ) : string | Returns a human readable test message. |
Méthode | Description | |
---|---|---|
getValue ( ) : mixed | Accessor for comparison value. |
public __construct ( mixed $value, string $message = '%s' ) | ||
$value | mixed | Test value to match. |
$message | string | Customised message on failure. |
public testMessage ( mixed $compare ) : string | ||
$compare | mixed | Comparison value. |
Résultat | string | Description of success or failure. |