/**
 * Set alert type primary.
 *
 * @return self Returns instance of the Rule class.
 *
 * @access public
 */
public function primary(): self

Examples

Set Alert element type primary using fluent interface

use function Thermage\alert;
use function Thermage\render;

// ...

render(
  alert('Stay RAD!')->primary()
);

Set Alert element type primary using magic classes pipeline

use function Thermage\alert;
use function Thermage\render;

// ...

render( 
  alert('Stay RAD!', 'primary')
);
Terminal
$ php thermage.php
Stay RAD!