PHP Class PhpSpec\Runner\MatcherManager

Show file Open project: phpspec/phpspec Class Usage Examples

Public Methods

Method 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 method

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

add() public method

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

find() public method

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

replace() public method

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