Server : LiteSpeed
System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
User : nandedex ( 1060)
PHP Version : 8.1.33
Disable Function : NONE
Directory :  /home/nandedex/www/wp-content/plugins/wordpress-seo/vendor/yoast/whip/src/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]


Current File : /home/nandedex/www/wp-content/plugins/wordpress-seo/vendor/yoast/whip/src/MessageFormatter.php
<?php

namespace Yoast\WHIPv2;

/**
 * A helper class to format messages.
 */
final class MessageFormatter {

	/**
	 * Wraps a piece of text in HTML strong tags.
	 *
	 * @param string $toWrap The text to wrap.
	 *
	 * @return string The wrapped text.
	 */
	public static function strong( $toWrap ) {
		return '<strong>' . $toWrap . '</strong>';
	}

	/**
	 * Wraps a piece of text in HTML p tags.
	 *
	 * @param string $toWrap The text to wrap.
	 *
	 * @return string The wrapped text.
	 */
	public static function paragraph( $toWrap ) {
		return '<p>' . $toWrap . '</p>';
	}

	/**
	 * Wraps a piece of text in HTML p and strong tags.
	 *
	 * @param string $toWrap The text to wrap.
	 *
	 * @return string The wrapped text.
	 */
	public static function strongParagraph( $toWrap ) {
		return self::paragraph( self::strong( $toWrap ) );
	}
}

F1le Man4ger