File manager - Edit - /home/infoilmg/public_html/wp-content/plugins/wordpress-seo/vendor/yoast/whip/src/MessageFormatter.php
Back
<?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 ) ); } }
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings