/**
 * 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.
Getting Started
Methods
- border Set Hr element border style.
 - color Set Hr element text color style.
 - d Set Hr element display style.
 - getShortcodes Get Hr element shortcodes instance.
 - getTheme Get Hr element theme.
 - getValue Get Hr element value.
 - render Render Hr element.
 - setShortcodes Set Hr element shortcodes instance.
 - setTheme Set Hr element theme instance.
 - textAlign Set Hr element text align.
 - value Set Hr element value.