Overview

Namespaces

  • Webmozart
    • Console
      • Adapter
      • Api
        • Application
        • Args
          • Format
        • Command
        • Config
        • Event
        • Formatter
        • IO
        • Resolver
      • Args
      • Config
      • Formatter
      • Handler
        • Help
      • IO
        • InputStream
        • OutputStream
      • Process
      • Resolver
      • UI
        • Alignment
        • Component
        • Help
        • Layout
        • Style
      • Util

Classes

  • BorderUtil
  • CellWrapper
  • EmptyLine
  • ExceptionTrace
  • Grid
  • LabeledParagraph
  • NameVersion
  • Paragraph
  • Table
  • Overview
  • Namespace
  • Class

Class ExceptionTrace

Renders the trace of an exception.

Webmozart\Console\UI\Component\ExceptionTrace implements Webmozart\Console\UI\Component
Namespace: Webmozart\Console\UI\Component
Author: Bernhard Schussek bschussek@gmail.com
Since: 1.0
Located at UI/Component/ExceptionTrace.php
Methods summary
public
# __construct( Exception $exception )

Creates a renderer for the given exception.

Creates a renderer for the given exception.

Parameters

$exception
The exception to render.
public
# render( Webmozart\Console\Api\IO\IO $io, integer $indentation = 0 )

Renders the exception trace.

Renders the exception trace.

Parameters

$io
The I/O.
$indentation
The number of spaces to indent.

Implementation of

Webmozart\Console\UI\Component::render()
Webmozart Console API API documentation generated by ApiGen