Markup.php 720 Bytes
Newer Older
1 2 3 4
<?php

namespace Drupal\Core\Render;

5 6
use Drupal\Component\Render\MarkupInterface;
use Drupal\Component\Render\MarkupTrait;
7 8 9 10 11 12 13 14 15

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

26
}