src/Debugger/Dumper.php
public static function dump($var, array $options = null)
    {
        if (Helpers::isHtmlMode()) {
            echo self::toHtml($var, $options);
        } elseif (self::detectColors()) {
            echo self::toTerminal($var, $options);
        } else {
            echo self::toText($var, $options);
        }

        return $var;
    }
public static function dump($var, array $options = null)
    {
        if (Helpers::isHtmlMode()) {
            echo self::toHtml($var, $options);
        } elseif (self::detectColors()) {
            echo self::toTerminal($var, $options);
        } else {
            echo self::toText($var, $options);
        }

        return $var;
    }
public static function dump ( $ var , array $ options = null ) { if ( Helpers :: isHtmlMode ( ) ) { echo self :: toHtml ( $ var , $ options ) ; } elseif ( self :: detectColors ( ) ) { echo self :: toTerminal ( $ var , $ options ) ; } else { echo self :: toText ( $ var , $ options ) ; } return $ var ; }
Dumps variable to the output.

@param mixed      $var
@param array|null $options

@return mixed  variable
Dumps variable to the output .