return $o;
} /**
* Parses a string into a Kint BlobValue structure.
*
* @param string &$var The input variable
* @param Value $o The base object
*/
private function parseString(string &
$var, Value
$o): Value
{ $string =
new BlobValue();
$string->
transplant($o);
$string->encoding = BlobValue::
detectEncoding($var);
$string->size = \
strlen($var);
$rep =
new Representation('Contents'
);
$rep->contents =
$var;
$rep->implicit_label = true;
$string->
addRepresentation($rep);
$string->value =
$rep;