1<?php 2 3/** 4 * This file is part of the Nette Framework (https://nette.org) 5 * Copyright (c) 2004 David Grudl (https://davidgrudl.com) 6 */ 7 8declare(strict_types=1); 9 10namespace Nette\Utils; 11 12use Nette; 13 14if (false) { 15 /** @deprecated use Nette\HtmlStringable */ 16 interface IHtmlString extends Nette\HtmlStringable 17 { 18 } 19} elseif (!interface_exists(IHtmlString::class)) { 20 class_alias(Nette\HtmlStringable::class, IHtmlString::class); 21} 22 23namespace Nette\Localization; 24 25if (false) { 26 /** @deprecated use Nette\Localization\Translator */ 27 interface ITranslator extends Translator 28 { 29 } 30} elseif (!interface_exists(ITranslator::class)) { 31 class_alias(Translator::class, ITranslator::class); 32} 33