/**
 * Set Anchor element border color style.
 *
 * @param string $value Anchor border color style value.
 *
 * @return self Returns instance of the Anchor element class.
 *
 * @access public
 */
public function borderColor(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')
    ->borderColor('red')
);

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()
    ->borderColorRed()
);

Set border color using magic classes pipeline

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

// ...

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