PHP Class PHPSpec2\Formatter\Presenter\StringPresenter

Inheritance: implements PHPSpec2\Formatter\Presenter\PresenterInterface
Afficher le fichier Open project: phpspec/phpspec2

Méthodes publiques

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

Méthodes protégées

Méthode 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 méthode

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

getExceptionExamplePosition() protected méthode

protected getExceptionExamplePosition ( Exception $exception )
$exception Exception

presentCodeLine() protected méthode

protected presentCodeLine ( $number, $line )

presentException() public méthode

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

presentExceptionDifference() protected méthode

protected presentExceptionDifference ( Exception $exception )
$exception Exception

presentExceptionStackTrace() protected méthode

protected presentExceptionStackTrace ( Exception $exception )
$exception Exception

presentExceptionTraceFunction() protected méthode

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

presentExceptionTraceHeader() protected méthode

protected presentExceptionTraceHeader ( $header )

presentExceptionTraceMethod() protected méthode

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

presentFileCode() protected méthode

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

presentHighlight() protected méthode

protected presentHighlight ( $line )

presentString() public méthode

public presentString ( $string )

presentValue() public méthode

public presentValue ( $value )