* ``` * * @see https://docs.typo3.org/permalink/t3viewhelper:typo3-backend-typoscript-finediff * @internal This experimental ViewHelper is not part of TYPO3 Core API and may change or vanish any time. */ final class FineDiffViewHelper extends AbstractViewHelper { public function __construct( private readonly DiffUtility $diffUtility ) {} public function initializeArguments(): void { parent::initializeArguments(); $this->registerArgument('from', 'string', 'Source string', true); $this->registerArgument('to', 'string', 'Target string', true); } public function render(): string { return $this->diffUtility->diff($this->arguments['from'], $this->arguments['to']); } }