A minimalistic renderer for a web page.
This serves for visualizing and demonstrating the feature-php library. It is recommended to develop your own renderers in production.
| package | Default |
|---|
render(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
string$accentColor : string
"\033[1;33m"$defaultColor : string
"\033[0m"