Method | Description | |
---|---|---|
__construct ( string $type, string $message = '%s' ) | Sets the type to compare with. | |
test ( string $compare ) : boolean | Tests the expectation. False if the type or class matches the string value. | |
testMessage ( mixed $compare ) : string | Returns a human readable test message. |
public __construct ( string $type, string $message = '%s' ) | ||
$type | string | Type or class name. |
$message | string | Customised message on failure. |
public testMessage ( mixed $compare ) : string | ||
$compare | mixed | Comparison value. |
return | string | Description of success or failure. |