3 namespace Drupal\Core\Render;
5 use Drupal\Component\Render\MarkupInterface;
6 use Drupal\Component\Render\MarkupTrait;
9 * Defines an object that passes safe strings through the render system.
11 * This object should only be constructed with a known safe string. If there is
12 * any risk that the string contains user-entered data that has not been
13 * filtered first, it must not be used.
16 * This object is marked as internal because it should only be used whilst
19 * @see \Drupal\Core\Template\TwigExtension::escapeFilter
21 * @see \Drupal\Component\Utility\SafeMarkup
23 final class Markup implements MarkupInterface, \Countable {