Вход Регистрация
Файл: vendor/nette/utils/src/compatibility.php
Строк: 24
<?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 
NetteUtils;

use 
Nette;

if (
false) {
    
/** @deprecated use NetteHtmlStringable */
    
interface IHtmlString extends NetteHtmlStringable
    
{
    }
} elseif (!
interface_exists(IHtmlString::class)) {
    
class_alias(NetteHtmlStringable::class, IHtmlString::class);
}

namespace 
NetteLocalization;

if (
false) {
    
/** @deprecated use NetteLocalizationTranslator */
    
interface ITranslator extends Translator
    
{
    }
} elseif (!
interface_exists(ITranslator::class)) {
    
class_alias(Translator::class, ITranslator::class);
}
Онлайн: 0
Реклама