PHP 클래스 PhpBench\Report\Generator\TableGenerator

NOTE: This class could be improved, and perhaps even generalized.
상속: implements PhpBench\Report\GeneratorInterface, implements PhpBench\Console\OutputAwareInterface
파일 보기 프로젝트 열기: dantleech/phpbench 1 사용 예제들

공개 메소드들

메소드 설명
configure ( Symfony\Component\OptionsResolver\OptionsResolver $options )
generate ( SuiteCollection $suiteCollection, Config $config )
setOutput ( Symfony\Component\Console\Output\OutputInterface $output )

비공개 메소드들

메소드 설명
buildTable ( SuiteCollection $suiteCollection, Config $config ) : array Construct the initial table from the SuiteCollection.
generateDocument ( array $tables, Config $config ) : PhpBench\Dom\Document Generate the report DOM document to pass to the report renderer.
getClassShortName ( string $fullName ) Return the short name of a fully qualified class name.
processBreak ( array $table, Config $config ) : array Process breaks (split large table into smaller tables).
processCols ( array $tables, Config $config ) : array Remove unwanted columns from the tables.
processCompare ( array $tables, Config $config ) : array Process the compare feature.
processDiffs ( array $tables, Config $config ) : array Calculate the diff column if it is displayed.
processSort ( array $table, Config $config ) : array Process the sorting, also break sorting.
resolveCompareColumnName ( Row $row, $name, integer $index = 1 ) : string Recursively resolve a comparison column - find a column name that doesn't already exist by adding and incrementing an index.

메소드 상세

configure() 공개 메소드

public configure ( Symfony\Component\OptionsResolver\OptionsResolver $options )
$options Symfony\Component\OptionsResolver\OptionsResolver

generate() 공개 메소드

public generate ( SuiteCollection $suiteCollection, Config $config )
$suiteCollection PhpBench\Model\SuiteCollection
$config PhpBench\Registry\Config

setOutput() 공개 메소드

public setOutput ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface