PHP Class PhpBench\Report\Generator\Table\Row

Inheritance: extends ArrayObject
ファイルを表示 Open project: dantleech/phpbench Class Usage Examples

Public Methods

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

Return the format parameters.
public getFormatParams ( ) : array
return array

getNames() public method

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

merge() public method

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

newInstance() public method

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

offsetGet() public method

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

setFormatParams() public method

Set the format parameters.
public setFormatParams ( $formatParams )