PHP Class PhpSpec\Runner\MatcherManager

Afficher le fichier Open project: phpspec/phpspec Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( PhpSpec\Formatter\Presenter\Presenter $presenter )
add ( PhpSpec\Matcher\Matcher $matcher )
find ( string $keyword, mixed $subject, array $arguments ) : PhpSpec\Matcher\Matcher
replace ( array $matchers ) Replaces matchers with an already-sorted list

Method Details

__construct() public méthode

public __construct ( PhpSpec\Formatter\Presenter\Presenter $presenter )
$presenter PhpSpec\Formatter\Presenter\Presenter

add() public méthode

public add ( PhpSpec\Matcher\Matcher $matcher )
$matcher PhpSpec\Matcher\Matcher

find() public méthode

public find ( string $keyword, mixed $subject, array $arguments ) : PhpSpec\Matcher\Matcher
$keyword string
$subject mixed
$arguments array
Résultat PhpSpec\Matcher\Matcher

replace() public méthode

Replaces matchers with an already-sorted list
public replace ( array $matchers )
$matchers array