$loggerContent
$loggerContent :
Generic data validator.
isValid(string $field_name, string $value = null) : boolean
Validate data for a single log field.
string | $field_name | ID of log format field. |
string | $value | Provide an (optional) value to validate, so allowing for the validation of external data (by default validation will be performed on the LoggerContent object). |
Field valid?.
getInstance(array|mixed|null $inject = null) : \phpWTL\$_instance[$class]
Create new instance or give back already existing one.
array|mixed|null | $inject | Can be used to inject one or more parameter(s) into the constructor |
The instance of a derived class