Text¶
Render some text.
Options¶
- text:
Type(s):
string
, Default:n/a
Example¶
Given the following configuration:
{
"runner.path": "NothingBench.php",
"runner.executor": "debug",
"runner.env_enabled_providers": ["test"],
"report.generators": {
"text": {
"generator": "component",
"components": [
{
"component": "text",
"text": "Hello World"
}
]
}
}
}
When we run PHPBench with the configured report above:
phpbench run --report=text
Then it generates the following with the console
renderer:
Hello World