A renderer for some tracing links.

This renders a \FeaturePhp\Artifact\TracingLink analysis as a web page.

package Default
inherited_from \FeaturePhp\Renderer

 Methods

Creates a product renderer.

__construct(array<mixed,\FeaturePhp\Artifact\TracingLink> $tracingLinks) 

Parameters

$tracingLinks

array<mixed,\FeaturePhp\Artifact\TracingLink>

Returns the tracing link analysis.

_render(boolean $textOnly) : string
inherited_from \FeaturePhp\Renderer::_render()

Parameters

$textOnly

boolean

whether to render text or HTML

Returns

string

Returns the renderer's web page.

render(boolean $textOnly = false) : string
Inherited

Parameters

$textOnly

boolean

whether to render text or HTML

Returns

string

Returns the renderer's web page as text only.

renderText() : string
Inherited

This is used by the command-line interface.

Returns

string

Internal function for returning the renderer's web page.

_render(boolean $textOnly) : string
Inherited

Parameters

$textOnly

boolean

whether to render text or HTML

Returns

string

Returns a simple stylesheet.

getStyle() : string
Inherited

Returns

string

 Properties

 

accent color for text only rendering

$accentColor : string

Default

"\033[1;33m"
 

default color for text only rendering

$defaultColor : string

Default

"\033[0m"