/**
 * Set Hr text align style.
 *
 * @param mixed $value Text align value.
 *
 * @return self Returns instance of the Alert class.
 *
 * @access public
 */
public function textAlign(string $value): self

Examples

Set hr text align left using fluent interface

use function Thermage\hr;
use function Thermage\render;

// ...

render(
  hr('Stay RAD!')->textAlignLeft()
);

Set hr text align left using magic classes pipeline

use function Thermage\hr;
use function Thermage\render;

// ...

render(
  hr('Stay RAD!', 'text-align-left')
);
Terminal
$ php thermage.php
Stay RAD!

By default Hr element text align style is left, but you can change it to right or center.