PHP Class PhpBench\Report\Generator\Table\Row

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

Méthodes publiques

Méthode Description
getFormatParams ( ) : array Return the format parameters.
getNames ( ) : string[] Return the cell names for this row.
merge ( array $array ) : Row Merge the given array into the data of this row and return a new instance.
newInstance ( array $array ) : Row Return a new instance of row using the given data but keeping the metadata for this row.
offsetGet ( $offset ) Return the given offset.
setFormatParams ( $formatParams ) Set the format parameters.

Method Details

getFormatParams() public méthode

Return the format parameters.
public getFormatParams ( ) : array
Résultat array

getNames() public méthode

Return the cell names for this row.
public getNames ( ) : string[]
Résultat string[]

merge() public méthode

Merge the given array into the data of this row and return a new instance.
public merge ( array $array ) : Row
$array array
Résultat Row

newInstance() public méthode

Return a new instance of row using the given data but keeping the metadata for this row.
public newInstance ( array $array ) : Row
$array array
Résultat Row

offsetGet() public méthode

Throw an exception if the given offset does not exist.
public offsetGet ( $offset )

setFormatParams() public méthode

Set the format parameters.
public setFormatParams ( $formatParams )