A renderer for a configuration and its model.
This renders a \FeaturePhp\Model\Configuration and its \FeaturePhp\Model\Model analysis as a web page. The model analysis includes a list of features and descriptions. The configuration analysis lists selected and deselected features and evaluates the configuration's validity.
| package | Default |
|---|---|
| inherited_from | \FeaturePhp\Renderer |
__construct(\FeaturePhp\Model\Configuration $configuration, \FeaturePhp\ProductLine\ProductLine $productLine = null)
\FeaturePhp\Model\Configuration
\FeaturePhp\ProductLine\ProductLine
_render(boolean $textOnly) : string
| inherited_from | \FeaturePhp\Renderer::_render() |
|---|
booleanwhether to render text or HTML
stringrender(boolean $textOnly = false) : string
booleanwhether to render text or HTML
stringrenderText() : string
This is used by the command-line interface.
string_render(boolean $textOnly) : string
booleanwhether to render text or HTML
stringgetStyle() : string
stringanalyzeConfiguration(\FeaturePhp\Model\Configuration $configuration, boolean $textOnly) : string
\FeaturePhp\Model\Configuration
booleanwhether to render text or HTML
stringanalyzeModel(\FeaturePhp\Model\Model $model, boolean $textOnly) : string
\FeaturePhp\Model\Model
booleanwhether to render text or HTML
string$accentColor : string
"\033[1;33m"$defaultColor : string
"\033[0m"$configuration : \FeaturePhp\Model\Configuration
$productLine : \FeaturePhp\ProductLine\ProductLine | null