/**
 * Set Heading size
 *
 * @param int $value Heading size.
 *
 * @return self Returns instance of the Heading class.
 *
 * @access public
 */
public function size(int $value): self

Examples

Set Heading size using fluent interface

use function Thermage\heading;
use function Thermage\render;

// ...

render(
  heading('Stay RAD!')->size(1)
);

Set Heading size using magic method fluent interface

use function Thermage\heading;
use function Thermage\render;

// ...

render(
  heading('Stay RAD!')->size1()
);

Set Heading width using magic classes pipeline

use function Thermage\heading;
use function Thermage\render;

// ...

render(
  heading('Stay RAD!', 'size-1')
);
Terminal
$ php thermage.php
Stay RAD!