use Kint\Zval\Value;
class TraceFramePlugin extends AbstractPlugin
implements ValuePluginInterface
{ public function renderValue(Value
$o): ?string
{ if (!
$o instanceof TraceFrameValue
) { return null;
} if (!
empty($o->trace
['file'
]) && !
empty($o->trace
['line'
])) { $header = '<var>'.
$this->renderer->
ideLink($o->trace
['file'
],
(int) $o->trace
['line'
]).'</var> ';
} else { $header = '<var>PHP internal call</var> ';
} if ($o->trace
['class'
]) { $header .=
$this->renderer->
escape($o->trace
['class'
].
$o->trace
['type'
]);
} if (\
is_string($o->trace
['function'
])) { $function =
$this->renderer->
escape($o->trace
['function'
].'()'
);
} else {