PHP Class PhpSpec\Formatter\Presenter\Exception\AbstractPhpSpecExceptionPresenter

Afficher le fichier Open project: phpspec/phpspec

Méthodes publiques

Méthode Description
presentException ( PhpSpec\Exception\Exception $exception ) : string

Méthodes protégées

Méthode Description
presentFileCode ( string $file, integer $lineno, integer $context = 6 ) : string

Private Methods

Méthode Description
getExceptionExamplePosition ( PhpSpec\Exception\Exception $exception ) : array

Method Details

presentException() public méthode

public presentException ( PhpSpec\Exception\Exception $exception ) : string
$exception PhpSpec\Exception\Exception
Résultat string

presentFileCode() abstract protected méthode

abstract protected presentFileCode ( string $file, integer $lineno, integer $context = 6 ) : string
$file string
$lineno integer
$context integer
Résultat string