# packeta/1.6.1/deps/nette/utils/src/compatibility.php

Packeta, version 1.6.1. 29 lines.

- Page: https://pluginprobe.com/plugins/packeta/1.6.1/code/deps/nette/utils/src/compatibility.php
- Raw: https://pluginprobe.com/plugins/packeta/1.6.1/raw/deps/nette/utils/src/compatibility.php
- Modified: 2023-08-30T08:36:18+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/packeta/1.6.1/code/deps/nette/utils/src/compatibility.php#L10-L20`.

```php
<?php

/**
 * This file is part of the Nette Framework (https://nette.org)
 * Copyright (c) 2004 David Grudl (https://davidgrudl.com)
 */
declare (strict_types=1);
namespace Packetery\Nette\Utils;

use Packetery\Nette;
if (\false) {
    /** @deprecated use \Packetery\Nette\HtmlStringable */
    interface IHtmlString extends \Packetery\Nette\HtmlStringable
    {
    }
} elseif (!\interface_exists(IHtmlString::class)) {
    \class_alias(\Packetery\Nette\HtmlStringable::class, IHtmlString::class);
}
namespace Packetery\Nette\Localization;

if (\false) {
    /** @deprecated use \Packetery\Nette\Localization\Translator */
    interface ITranslator extends Translator
    {
    }
} elseif (!\interface_exists(ITranslator::class)) {
    \class_alias(Translator::class, ITranslator::class);
}

```
