Current Path : /data/web/virtuals/51568/virtual/www/subdom/agenda/vendor/latte/latte/src/ |
Current File : /data/web/virtuals/51568/virtual/www/subdom/agenda/vendor/latte/latte/src/compatibility.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 Latte { if (false) { /** @deprecated use Latte\Loader */ interface ILoader extends Loader { } } elseif (!interface_exists(ILoader::class)) { class_alias(Loader::class, ILoader::class); } if (false) { /** @deprecated use Latte\Macro */ interface IMacro extends Macro { } } elseif (!interface_exists(IMacro::class)) { class_alias(Macro::class, IMacro::class); } } namespace Latte\Runtime { if (false) { /** @deprecated use Latte\Runtime\HtmlStringable */ interface IHtmlString extends HtmlStringable { } } elseif (!interface_exists(IHtmlString::class)) { class_alias(HtmlStringable::class, IHtmlString::class); } if (false) { /** @deprecated use Latte\Runtime\SnippetBridge */ interface ISnippetBridge extends SnippetBridge { } } elseif (!interface_exists(ISnippetBridge::class)) { class_alias(SnippetBridge::class, ISnippetBridge::class); } }