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
boolean
whether to render text or HTML
string
renderText() : string
This is used by the command-line interface.
string
_render(boolean $textOnly) : string
boolean
whether to render text or HTML
string
getStyle() : string
string
$accentColor : string
"\033[1;33m"
$defaultColor : string
"\033[0m"