PluginProbe
Packeta / trunk
Packeta vtrunk
2.3.2 2.3.1 trunk 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.3.0 1.3.1 1.3.2 1.4 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 All 56 releases
packeta / deps / nette / utils / src / compatibility.php

compatibility.php in Packeta trunk, at deps/nette/utils/src/compatibility.php

29 lines 793 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 declare (strict_types=1);
8 namespace Packetery\Nette\Utils;
9
10 use Packetery\Nette;
11 if (\false) {
12 /** @deprecated use \Packetery\Nette\HtmlStringable */
13 interface IHtmlString extends \Packetery\Nette\HtmlStringable
14 {
15 }
16 } elseif (!\interface_exists(IHtmlString::class)) {
17 \class_alias(\Packetery\Nette\HtmlStringable::class, IHtmlString::class);
18 }
19 namespace Packetery\Nette\Localization;
20
21 if (\false) {
22 /** @deprecated use \Packetery\Nette\Localization\Translator */
23 interface ITranslator extends Translator
24 {
25 }
26 } elseif (!\interface_exists(ITranslator::class)) {
27 \class_alias(Translator::class, ITranslator::class);
28 }
29