HTMLPurifier_ConfigSchema_ValidatorAtom
Fluent interface for validating the contents of member variables.
This should be immutable. See HTMLPurifier_ConfigSchema_Validator for use-cases. We name this an 'atom' because it's ONLY for validations that are independent and usually scalar.
- Full name:
\HTMLPurifier_ConfigSchema_ValidatorAtom
Properties
context
obj
member
contents
Methods
__construct
Parameters:
Parameter | Type | Description |
---|---|---|
$context |
mixed | |
$obj |
mixed | |
$member |
mixed |
assertIsString
assertIsBool
assertIsArray
assertNotNull
assertAlnum
assertNotEmpty
assertIsLookup
error
Parameters:
Parameter | Type | Description |
---|---|---|
$msg |
string |
Throws:
Automatically generated on 2025-03-18