View.php
public static function bootstrapAlert($message, $level): void
    {
        $message = htmlentities($message);  // Im not sure how this may be used,
        $level = htmlentities($level);      // for completeness I sanitises
        printf('<script>Carbon(() => carbon.alert("%s", "%s"))</script>', $message, $level);
    }
public static function bootstrapAlert($message, $level): void
    {
        $message = htmlentities($message);  // Im not sure how this may be used,
        $level = htmlentities($level);      // for completeness I sanitises
        printf('<script>Carbon(() => carbon.alert("%s", "%s"))</script>', $message, $level);
    }
This method
@param $message
@param $level