PHP Class PhpBench\Model\Iteration

Inheritance: extends ResultCollection
Mostrar archivo Open project: dantleech/phpbench Class Usage Examples

Public Methods

Method 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 method

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

getIndex() public method

Return the index of this iteration.
public getIndex ( ) : integer
return integer

getRejectionCount() public method

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

getVariant() public method

Return the Variant that this iteration belongs to.
public getVariant ( ) : Variant
return Variant