if (is_array($value)) { array_map([$this, 'checkEncoding'
],
$value);
return $value;
} if (mb_check_encoding($value, 'UTF-8'
)) { return $value;
} throw SecurityException::
forInvalidUTF8Chars($this->source,
$value);
} /**
* Check for the presence of control characters except line breaks and tabs.
*
* @param array|string $value
*
* @return array|string
*/
protected function checkControl($value) {