PHP Class PHPSpec\Matcher\TraversableCountMatcher

Inheritance: implements PHPSpec\Matcher\Matcher
Afficher le fichier Open project: phpspec/phpspec

Méthodes publiques

Méthode 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

Méthode Description
countDifference ( Traversable $subject, integer $expected ) : integer

Method Details

__construct() public méthode

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

getPriority() public méthode

public getPriority ( )

negativeMatch() public méthode

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

positiveMatch() public méthode

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

supports() public méthode

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