public static SafeMarkup::checkPlain($text) Encodes
public static SafeMarkup::isSafe($string, $strategy = 'html')
Contains deprecated functionality related to sanitization of markup. Hierarchy class
public static SafeMarkup::format($string, array $args)