Sindbad~EG File Manager

Current Path : /proc/self/cwd/wp-content/plugins/wordpress-seo/vendor/yoast/whip/src/
Upload File :
Current File : //proc/self/cwd/wp-content/plugins/wordpress-seo/vendor/yoast/whip/src/Whip_MessageFormatter.php

<?php
/**
 * WHIP libary file.
 *
 * @package Yoast\WHIP
 */

/**
 * A helper class to format messages.
 */
final class Whip_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 ) );
	}
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists