‪TYPO3CMS  10.4
SanitizerInitiator.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 project.
7  *
8  * It is free software; you can redistribute it and/or modify it under the terms
9  * of the MIT License (MIT). For the full copyright and license information,
10  * please read the LICENSE file that was distributed with this source code.
11  *
12  * The TYPO3 project - inspiring people to share!
13  */
14 
15 namespace ‪TYPO3\CMS\Core\Html;
16 
17 use TYPO3\HtmlSanitizer\InitiatorInterface;
18 
24 class ‪SanitizerInitiator implements InitiatorInterface
25 {
29  protected ‪$trace;
30 
31  public function ‪__construct(string ‪$trace)
32  {
33  $this->trace = ‪$trace;
34  }
35 
36  public function ‪__toString(): string
37  {
38  return ‪$this->trace;
39  }
40 }
‪TYPO3\CMS\Core\Html
Definition: DefaultSanitizerBuilder.php:15
‪TYPO3\CMS\Core\Html\SanitizerInitiator\__toString
‪__toString()
Definition: SanitizerInitiator.php:35
‪TYPO3\CMS\Core\Html\SanitizerInitiator\__construct
‪__construct(string $trace)
Definition: SanitizerInitiator.php:30
‪TYPO3\CMS\Core\Html\SanitizerInitiator\$trace
‪string $trace
Definition: SanitizerInitiator.php:28
‪TYPO3\CMS\Core\Html\SanitizerInitiator
Definition: SanitizerInitiator.php:25