Initial commit
This commit is contained in:
25
vendor/nette/utils/src/Translator.php
vendored
Normal file
25
vendor/nette/utils/src/Translator.php
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
<?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 Nette\Localization;
|
||||
|
||||
|
||||
/**
|
||||
* Translator adapter.
|
||||
*/
|
||||
interface Translator
|
||||
{
|
||||
/**
|
||||
* Translates the given string.
|
||||
*/
|
||||
function translate(string|\Stringable $message, mixed ...$parameters): string|\Stringable;
|
||||
}
|
||||
|
||||
|
||||
interface_exists(ITranslator::class);
|
||||
Reference in New Issue
Block a user