src/Debugger/Debugger.php
public static function barDump($var, string $title = null, array $options = null)
    {
        if (!self::isProductionMode()) {
            static $panel;
            if (!$panel) {
                self::getBar()->addPanel($panel = new Bar\DefaultPanel('dumps'), 'Tracy:dumps');
            }
            $panel->data[] = [
                'title' => $title,
                'dump' => Dumper::toHtml($var, $options + [
                        Dumper::DEPTH => self::$maxDepth,
                        Dumper::TRUNCATE => self::$maxLength,
                        Dumper::LOCATION => self::$showLocation ?: Dumper::LOCATION_CLASS | Dumper::LOCATION_SOURCE,
                    ]),
            ];
        }

        return $var;
    }
public static function barDump($var, string $title = null, array $options = null)
    {
        if (!self::isProductionMode()) {
            static $panel;
            if (!$panel) {
                self::getBar()->addPanel($panel = new Bar\DefaultPanel('dumps'), 'Tracy:dumps');
            }
            $panel->data[] = [
                'title' => $title,
                'dump' => Dumper::toHtml($var, $options + [
                        Dumper::DEPTH => self::$maxDepth,
                        Dumper::TRUNCATE => self::$maxLength,
                        Dumper::LOCATION => self::$showLocation ?: Dumper::LOCATION_CLASS | Dumper::LOCATION_SOURCE,
                    ]),
            ];
        }

        return $var;
    }
public static function barDump ( $ var , string $ title = null , array $ options = null ) { if ( ! self :: isProductionMode ( ) ) { static $ panel ; if ( ! $ panel ) { self :: getBar ( ) -> addPanel ( $ panel = new Bar \ DefaultPanel ( 'dumps' ) , 'Tracy:dumps' ) ; } $ panel -> data [ ] = [ 'title' => $ title , 'dump' => Dumper :: toHtml ( $ var , $ options + [ Dumper :: DEPTH => self :: $ maxDepth , Dumper :: TRUNCATE => self :: $ maxLength , Dumper :: LOCATION => self :: $ showLocation ? : Dumper :: LOCATION_CLASS | Dumper :: LOCATION_SOURCE , ] ) , ] ; } return $ var ; }
Dumps information about a variable in Tracy Debug Bar.

@tracySkipLocation

@param mixed  $var     variable to dump
@param string $title   optional title
@param array  $options dumper options

@return mixed  variable itself
Dumps information about a variable in Tracy Debug Bar .