public static function Kint_Decorators_Plain::wrapEnd in Devel 8.2
Same name and namespace in other branches
- 8 kint/kint/decorators/plain.php \Kint_Decorators_Plain::wrapEnd()
File
- kint/
kint/ decorators/ plain.php, line 252
Class
Code
public static function wrapEnd($callee, $miniTrace, $prevCaller) {
$lastLine = self::_colorize(self::_char("═", 80), 'title');
$lastChar = Kint::enabled() === Kint::MODE_PLAIN ? '</pre>' : '';
if (!Kint::$displayCalledFrom) {
return $lastLine . $lastChar;
}
return $lastLine . self::_colorize('Called from ' . self::_buildCalleeString($callee), 'title') . $lastChar;
}