PHP Class PhpBench\Report\Renderer\ConsoleRenderer

Inheritance: implements PhpBench\Report\RendererInterface, implements PhpBench\Console\OutputAwareInterface
Mostrar archivo Open project: dantleech/phpbench Class Usage Examples

Public Methods

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

Protected Methods

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

Private Methods

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

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

configure() public method

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

createTable() protected method

Create the table class. For Symfony 2.4 support.
protected createTable ( ) : object
return object

render() public method

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

renderTableElement() protected method

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

setOutput() public method

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