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

Examples

Set padding right style using fluent interface

use function Thermage\span;
use function Thermage\render;

// ...

render( 
  span('Stay RAD!')->pr(10)
);

Set padding right style using magic method fluent interface

use function Thermage\span;
use function Thermage\render;

// ...

render( 
  span('Stay RAD!')->pr10()
);

Set padding right style using magic classes pipeline

use function Thermage\span;
use function Thermage\render;

// ...

render( 
  span('Stay RAD!', 'pr-10')
);

Set padding right style using shortcodes

use function Thermage\span;
use function Thermage\render;

// ...

render( 
  span('[pr=10]Stay RAD![/pr]')
);
Terminal
$ php thermage.php
Stay RAD!