/**
 * Set Anchor element border style.
 *
 * @param string $value Anchor border style value.
 *
 * @return self Returns instance of the Anchor element class.
 *
 * @access public
 */
public function border(string $value): self

Examples

Set border style using fluent interface

use function Thermage\anchor;
use function Thermage\render;

// ...

render(
  anchor('Thermage')->href('https://awilum.github.io/thermage/')->border('square')
);

Set border style using magic method fluent interface

use function Thermage\anchor;
use function Thermage\render;

// ...

render(
  anchor('Thermage')->href('https://awilum.github.io/thermage/')->borderSquare()
);

Set border style using magic classes pipeline

use function Thermage\anchor;
use function Thermage\render;

// ...

render(
  anchor('Thermage', 'border-square')->href('https://awilum.github.io/thermage/')
);
Terminal
$ php thermage.php

You can set border style square, rounded, double, heavy, .