PluginProbe
Age Gate / 3.7.3
Age Gate v3.7.3
3.7.3 trunk 1.0.0 1.0.1 1.1.0 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 1.4.13 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 All 113 releases
age-gate / vendor / nette / utils / src / compatibility.php

compatibility.php in Age Gate 3.7.3, at vendor/nette/utils/src/compatibility.php

33 lines 686 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
8 declare(strict_types=1);
9
10 namespace Nette\Utils;
11
12 use Nette;
13
14 if (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
23 namespace Nette\Localization;
24
25 if (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