PHP Class PhpSpec\Formatter\Presenter\SimplePresenter

Inheritance: implements PhpSpec\Formatter\Presenter\Presenter
Afficher le fichier Open project: phpspec/phpspec

Méthodes publiques

Méthode Description
__construct ( PhpSpec\Formatter\Presenter\Value\ValuePresenter $valuePresenter, PhpSpec\Formatter\Presenter\Exception\ExceptionPresenter $exceptionPresenter )
presentException ( Exception $exception, boolean $verbose = false ) : string
presentString ( string $string ) : string
presentValue ( mixed $value ) : string

Method Details

__construct() public méthode

public __construct ( PhpSpec\Formatter\Presenter\Value\ValuePresenter $valuePresenter, PhpSpec\Formatter\Presenter\Exception\ExceptionPresenter $exceptionPresenter )
$valuePresenter PhpSpec\Formatter\Presenter\Value\ValuePresenter
$exceptionPresenter PhpSpec\Formatter\Presenter\Exception\ExceptionPresenter

presentException() public méthode

public presentException ( Exception $exception, boolean $verbose = false ) : string
$exception Exception
$verbose boolean
Résultat string

presentString() public méthode

public presentString ( string $string ) : string
$string string
Résultat string

presentValue() public méthode

public presentValue ( mixed $value ) : string
$value mixed
Résultat string