PHP Class PhpBench\Model\SuiteCollection

Inheritance: implements IteratorAggregate
Afficher le fichier Open project: dantleech/phpbench Class Usage Examples

Méthodes publiques

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

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

addSuite() public méthode

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

getIterator() public méthode

public getIterator ( )

getSuites() public méthode

Return the suites.
public getSuites ( ) : Suite[]
Résultat Suite[]

mergeCollection() public méthode

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