Debug_Bar_Pretty_Output::get_pretty_null PHP Метод

get_pretty_null() приватный статический Метод

Convert a null value to pretty output.
private static get_pretty_null ( null $null, boolean $short = false ) : string
$null null The null value to make pretty.
$short boolean Short or normal annotation.
Результат string
        private static function get_pretty_null($null, $short = false)
        {
            $output = '<span style="color: #666666;">';
            if (true !== $short) {
                $output .= '<b><i>';
            }
            $output .= 'null';
            if (true !== $short) {
                $output .= '</i></b> : ' . $null . ' ( = <i>NULL</i> )';
            }
            $output .= '</span><br />';
            return $output;
        }