PHP Classes

File: src/I18Next/TranslatorStatic_functions.php

Recommend this page to a friend!
  Classes of Francesco Danti   ATK4 i18next PHP   src/I18Next/TranslatorStatic_functions.php   Download  
File: src/I18Next/TranslatorStatic_functions.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: ATK4 i18next PHP
Translate application texts like il8next-PHP
Author: By
Last change:
Date: 5 years ago
Size: 372 bytes
 

Contents

Class file image Download
<?php

use I18Next\TranslatorStatic;

/**
 * @param string $key
 * @param array|null $parameters
 * @param string|null $context
 * @param string|null $locale
 *
 * @return string
 */
function __(string $key, ?array $parameters = null, ?string $context = null, ?string $locale = null): string
{
    return
TranslatorStatic::_($key, $parameters, $context, $locale);
}