src/Whoops/Util/TemplateHelper.php
public function dumpArgs(Frame $frame)
    {
        // we support frame args only when the optional dumper is available
        if (!$this->getDumper()) {
            return '';
        }

        $html = '';
        $numFrames = count($frame->getArgs());

        if ($numFrames > 0) {
            $html = '<ol class="linenums">';
            foreach ($frame->getArgs() as $j => $frameArg) {
                $html .= '<li>'. $this->dump($frameArg) .'</li>';
            }
            $html .= '</ol>';
        }

        return $html;
    }
public function dumpArgs(Frame $frame)
    {
        // we support frame args only when the optional dumper is available
        if (!$this->getDumper()) {
            return '';
        }

        $html = '';
        $numFrames = count($frame->getArgs());

        if ($numFrames > 0) {
            $html = '<ol class="linenums">';
            foreach ($frame->getArgs() as $j => $frameArg) {
                $html .= '<li>'. $this->dump($frameArg) .'</li>';
            }
            $html .= '</ol>';
        }

        return $html;
    }
public function dumpArgs ( Frame $ frame ) { // we support frame args only when the optional dumper is available if ( ! $ this -> getDumper ( ) ) { return '' ; } $ html = '' ; $ numFrames = count ( $ frame -> getArgs ( ) ) ; if ( $ numFrames > 0 ) { $ html = '<ol class="linenums">' ; foreach ( $ frame -> getArgs ( ) as $ j => $ frameArg ) { $ html .= '<li>' . $ this -> dump ( $ frameArg ) . '</li>' ; } $ html .= '</ol>' ; } return $ html ; }
Format the args of the given Frame as a human readable html string

@param  Frame $frame
@return string the rendered html
Format the args of the given Frame as a human readable html string