PHP Class PhpBench\Model\Iteration

Inheritance: extends ResultCollection
Afficher le fichier Open project: dantleech/phpbench Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( integer $index, Variant $variant, array $results = [] )
getIndex ( ) : integer Return the index of this iteration.
getRejectionCount ( ) : integer Return the number of times that this iteration was rejected.
getVariant ( ) : Variant Return the Variant that this iteration belongs to.

Method Details

__construct() public méthode

public __construct ( integer $index, Variant $variant, array $results = [] )
$index integer
$variant Variant
$results array

getIndex() public méthode

Return the index of this iteration.
public getIndex ( ) : integer
Résultat integer

getRejectionCount() public méthode

Return the number of times that this iteration was rejected.
public getRejectionCount ( ) : integer
Résultat integer

getVariant() public méthode

Return the Variant that this iteration belongs to.
public getVariant ( ) : Variant
Résultat Variant