PHP Класс PhpBench\Report\Renderer\ConsoleRenderer

Наследование: implements PhpBench\Report\RendererInterface, implements PhpBench\Console\OutputAwareInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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 )

Защищенные методы

Метод Описание
createTable ( ) : object Create the table class. For Symfony 2.4 support.
renderTableElement ( PhpBench\Dom\Element $tableEl, $config )

Приватные методы

Метод Описание
configureFormatters ( Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter ) Adds some output formatters.
renderTable ( mixed $table ) Render the table. For Symfony 2.4 support.

Описание методов

__construct() публичный Метод

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

configure() публичный Метод

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

createTable() защищенный Метод

Create the table class. For Symfony 2.4 support.
protected createTable ( ) : object
Результат object

render() публичный Метод

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

renderTableElement() защищенный Метод

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

setOutput() публичный Метод

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