/** * Returns an HTML string of information about a single variable. * * @param mixed variable to dump * @param string name of variable * @return string */ public static function one($var, $name = '') { $style = Dump::get_style(self::$style); return '<pre style="' . $style['pre'] . '">' . ($name != '' ? "{$name} : " : '') . Dump::_get_info_var($var, $name) . '</pre>'; }