function Kint_Decorators_Plain::wrapEnd

File

kint/kint/decorators/plain.php, line 252

Class

Kint_Decorators_Plain

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;
}