PHP Class PhpBench\Model\SuiteCollection

Inheritance: implements IteratorAggregate
Datei anzeigen Open project: dantleech/phpbench Class Usage Examples

Public Methods

Method Description
__construct ( array $suites = [] )
addSuite ( Suite $suite ) Add a suite to the collection.
getIterator ( )
getSuites ( ) : Suite[] Return the suites.
mergeCollection ( SuiteCollection $collection ) Merge another collection into this one.

Method Details

__construct() public method

public __construct ( array $suites = [] )
$suites array

addSuite() public method

Add a suite to the collection.
public addSuite ( Suite $suite )
$suite Suite

getIterator() public method

public getIterator ( )

getSuites() public method

Return the suites.
public getSuites ( ) : Suite[]
return Suite[]

mergeCollection() public method

Merge another collection into this one.
public mergeCollection ( SuiteCollection $collection )
$collection SuiteCollection