/**
 * Set Paragraph element bold style.
 *
 * @return self Returns instance of the Paragraph element class.
 *
 * @access public
 */
public function bold(): self

Examples

Set bold style using fluent interface

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

// ...

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

Set bold style using magic classes pipeline

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

// ...

render( 
  paragraph('Stay RAD!', 'bold')
);

Set bold style using shortcodes

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

// ...

render( 
  paragraph('[bold]Stay RAD![/bold]').
  paragraph('[b]Stay RAD![/b]')
);
Terminal
$ php thermage.php
Stay RAD!

Getting Started

Methods