Simple example of usage Paragraph element with fluent interface.

use function Thermage\paragraph;
use function Thermage\render;

// ...

render (
  paragraph('Stay RAD!')
    ->pl5()
    ->colorGreen()
    ->bgPurple()
    ->bold()
);

Simple example of usage Paragraph element with magic classes pipeline.

use function Thermage\paragraph;
use function Thermage\render;

// ...

render (
  paragraph('Stay RAD!', 'pl-5 color-green bg-purple bold')
);
Terminal
$ php thermage.php
Stay RAD!

Getting Started

Methods