src/class-check-site-job.php
public function render_html_error_email( $exception, CssToInlineStyles $inliner = null ) {
		$plates = _soter_instance( 'plates' );
		$html = $plates->render( 'emails/html/error.php', [
			'message' => $exception->getMessage(),
		] );
		$css = $plates->render( 'emails/style.css' );
		$inliner = $inliner ?: new CssToInlineStyles();

		return $inliner->convert( $html, $css );
	}
public function render_html_error_email( $exception, CssToInlineStyles $inliner = null ) {
		$plates = _soter_instance( 'plates' );
		$html = $plates->render( 'emails/html/error.php', [
			'message' => $exception->getMessage(),
		] );
		$css = $plates->render( 'emails/style.css' );
		$inliner = $inliner ?: new CssToInlineStyles();

		return $inliner->convert( $html, $css );
	}
public function render_html_error_email ( $ exception , CssToInlineStyles $ inliner = null ) { $ plates = _soter_instance ( 'plates' ) ; $ html = $ plates -> render ( 'emails/html/error.php' , [ 'message' => $ exception -> getMessage ( ) , ] ) ; $ css = $ plates -> render ( 'emails/style.css' ) ; $ inliner = $ inliner ? : new CssToInlineStyles ( ) ; return $ inliner -> convert ( $ html , $ css ) ; }
Render the contents of the HTML error notification.

@param  \RuntimeException      $exception Exception instance.
@param  CssToInlineStyles|null $inliner   Style inliner.

@return string
Render the contents of the HTML error notification .