PHP Class PHPSpec2\Formatter\Presenter\StringPresenter

Inheritance: implements PHPSpec2\Formatter\Presenter\PresenterInterface
ファイルを表示 Open project: phpspec/phpspec2

Public Methods

Method Description
__construct ( Differ $differ )
presentException ( Exception $exception, $verbose = false )
presentString ( $string )
presentValue ( $value )

Protected Methods

Method Description
getExceptionExamplePosition ( Exception $exception )
presentCodeLine ( $number, $line )
presentExceptionDifference ( Exception $exception )
presentExceptionStackTrace ( Exception $exception )
presentExceptionTraceFunction ( $function, array $args )
presentExceptionTraceHeader ( $header )
presentExceptionTraceMethod ( $class, $type, $method, array $args )
presentFileCode ( $file, $lineno, $context = 6 )
presentHighlight ( $line )

Method Details

__construct() public method

public __construct ( Differ $differ )
$differ PHPSpec2\Formatter\Presenter\Differ\Differ

getExceptionExamplePosition() protected method

protected getExceptionExamplePosition ( Exception $exception )
$exception Exception

presentCodeLine() protected method

protected presentCodeLine ( $number, $line )

presentException() public method

public presentException ( Exception $exception, $verbose = false )
$exception Exception

presentExceptionDifference() protected method

protected presentExceptionDifference ( Exception $exception )
$exception Exception

presentExceptionStackTrace() protected method

protected presentExceptionStackTrace ( Exception $exception )
$exception Exception

presentExceptionTraceFunction() protected method

protected presentExceptionTraceFunction ( $function, array $args )
$args array

presentExceptionTraceHeader() protected method

protected presentExceptionTraceHeader ( $header )

presentExceptionTraceMethod() protected method

protected presentExceptionTraceMethod ( $class, $type, $method, array $args )
$args array

presentFileCode() protected method

protected presentFileCode ( $file, $lineno, $context = 6 )

presentHighlight() protected method

protected presentHighlight ( $line )

presentString() public method

public presentString ( $string )

presentValue() public method

public presentValue ( $value )