Sanitize value to string
Note that this makes no assumptions about what is a "safe" string, so you should always apply another sanitizer to it.
// basic usage $string = $sanitizer->string($value); // usage with all arguments $string = $sanitizer->string($value, $sanitizer = null);
|string, int, array, object, bool, float|
Value to sanitize as string
API reference based on ProcessWire core version 3.0.137