PHP Class PhpSpec\Matcher\Iterate\IterablesMatcher

显示文件 Open project: phpspec/phpspec Class Usage Examples

Public Methods

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

Private Methods

Method Description
createIteratorFromIterable ( array | Traversable $iterable ) : Iterator
isIterable ( mixed $variable ) : boolean

Method Details

__construct() public method

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

match() public method

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