Method | Description | |
---|---|---|
__construct ( string $unwanted, string $message = '%s' ) | Sets the field and value to compare against. | |
test ( mixed $compare ) : boolean | Tests that the unwanted header is not found. | |
testMessage ( mixed $compare ) : string | Returns a human readable test message. |
public __construct ( string $unwanted, string $message = '%s' ) | ||
$unwanted | string | Case insenstive trimmed header name. |
$message | string | Optional message override. Can use %s as a placeholder for the original message. |
public testMessage ( mixed $compare ) : string | ||
$compare | mixed | Raw header block to search. |
return | string | Description of success or failure. |