PHP Class PhpSpec\Matcher\Iterate\IterablesMatcher

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

Méthodes publiques

Méthode Description
__construct ( PhpSpec\Formatter\Presenter\Presenter $presenter )
match ( array | Traversable $subject, array | Traversable $expected )

Private Methods

Méthode Description
createIteratorFromIterable ( array | Traversable $iterable ) : Iterator
isIterable ( mixed $variable ) : boolean

Method Details

__construct() public méthode

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

match() public méthode

public match ( array | Traversable $subject, array | Traversable $expected )
$subject array | Traversable
$expected array | Traversable