PHP 클래스 PhpSpec\Formatter\Presenter\SimplePresenter

상속: implements PhpSpec\Formatter\Presenter\Presenter
파일 보기 프로젝트 열기: phpspec/phpspec

공개 메소드들

메소드 설명
__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

메소드 상세

__construct() 공개 메소드

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 presentException ( Exception $exception, boolean $verbose = false ) : string
$exception Exception
$verbose boolean
리턴 string

presentString() 공개 메소드

public presentString ( string $string ) : string
$string string
리턴 string

presentValue() 공개 메소드

public presentValue ( mixed $value ) : string
$value mixed
리턴 string