PHP Class SebastianBergmann\CodeCoverage\Report\Html\File

Inheritance: extends Renderer
Datei anzeigen Open project: sebastianbergmann/php-code-coverage Class Usage Examples

Public Methods

Method Description
__construct ( string $templatePath, string $generator, string $date, integer $lowUpperBound, integer $highLowerBound ) Constructor.
render ( File $node, string $file )

Protected Methods

Method Description
loadFile ( string $file ) : array
renderFunctionItems ( array $functions, Text_Template $template ) : string
renderFunctionOrMethodItem ( Text_Template $template, array $item, $indent = '' ) : string
renderItems ( File $node ) : string
renderSource ( File $node ) : string
renderTraitOrClassItems ( array $items, Text_Template $template, Text_Template $methodItemTemplate ) : string

Method Details

__construct() public method

Constructor.
public __construct ( string $templatePath, string $generator, string $date, integer $lowUpperBound, integer $highLowerBound )
$templatePath string
$generator string
$date string
$lowUpperBound integer
$highLowerBound integer

loadFile() protected method

protected loadFile ( string $file ) : array
$file string
return array

render() public method

public render ( File $node, string $file )
$node SebastianBergmann\CodeCoverage\Node\File
$file string

renderFunctionItems() protected method

protected renderFunctionItems ( array $functions, Text_Template $template ) : string
$functions array
$template Text_Template
return string

renderFunctionOrMethodItem() protected method

protected renderFunctionOrMethodItem ( Text_Template $template, array $item, $indent = '' ) : string
$template Text_Template
$item array
return string

renderItems() protected method

protected renderItems ( File $node ) : string
$node SebastianBergmann\CodeCoverage\Node\File
return string

renderSource() protected method

protected renderSource ( File $node ) : string
$node SebastianBergmann\CodeCoverage\Node\File
return string

renderTraitOrClassItems() protected method

protected renderTraitOrClassItems ( array $items, Text_Template $template, Text_Template $methodItemTemplate ) : string
$items array
$template Text_Template
$methodItemTemplate Text_Template
return string