PHP Class PHPSpec\Matcher\TraversableCountMatcher

Inheritance: implements PHPSpec\Matcher\Matcher
Mostrar archivo Open project: phpspec/phpspec

Public Methods

Method Description
__construct ( PhpSpec\Formatter\Presenter\Presenter $presenter )
getPriority ( )
negativeMatch ( $name, $subject, array $arguments )
positiveMatch ( $name, $subject, array $arguments )
supports ( $name, $subject, array $arguments )

Private Methods

Method Description
countDifference ( Traversable $subject, integer $expected ) : integer

Method Details

__construct() public method

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

getPriority() public method

public getPriority ( )

negativeMatch() public method

public negativeMatch ( $name, $subject, array $arguments )
$arguments array

positiveMatch() public method

public positiveMatch ( $name, $subject, array $arguments )
$arguments array

supports() public method

public supports ( $name, $subject, array $arguments )
$arguments array