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

Examples

Set padding both style using fluent interface

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

// ...

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

Set padding both style using magic method fluent interface

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

// ...

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

Set padding both style using magic classes pipeline

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

// ...

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