PHP Class PhpBench\Report\Renderer\ConsoleRenderer

Inheritance: implements PhpBench\Report\RendererInterface, implements PhpBench\Console\OutputAwareInterface
Afficher le fichier Open project: dantleech/phpbench Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Formatter $formatter )
configure ( Symfony\Component\OptionsResolver\OptionsResolver $options )
render ( PhpBench\Dom\Document $reportDom, Config $config ) Render the table.
setOutput ( Symfony\Component\Console\Output\OutputInterface $output )

Méthodes protégées

Méthode Description
createTable ( ) : object Create the table class. For Symfony 2.4 support.
renderTableElement ( PhpBench\Dom\Element $tableEl, $config )

Private Methods

Méthode Description
configureFormatters ( Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter ) Adds some output formatters.
renderTable ( mixed $table ) Render the table. For Symfony 2.4 support.

Method Details

__construct() public méthode

public __construct ( Formatter $formatter )
$formatter PhpBench\Formatter\Formatter

configure() public méthode

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

createTable() protected méthode

Create the table class. For Symfony 2.4 support.
protected createTable ( ) : object
Résultat object

render() public méthode

Render the table.
public render ( PhpBench\Dom\Document $reportDom, Config $config )
$reportDom PhpBench\Dom\Document
$config PhpBench\Registry\Config

renderTableElement() protected méthode

protected renderTableElement ( PhpBench\Dom\Element $tableEl, $config )
$tableEl PhpBench\Dom\Element

setOutput() public méthode

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