PHP Classes

File: docs/md/I18Next-TranslatorInterface.md

Recommend this page to a friend!
  Classes of Francesco Danti   ATK4 i18next PHP   docs/md/I18Next-TranslatorInterface.md   Download  
File: docs/md/I18Next-TranslatorInterface.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: ATK4 i18next PHP
Translate application texts like il8next-PHP
Author: By
Last change:
Date: 4 years ago
Size: 633 bytes
 

Contents

Class file image Download

I18Next\TranslatorInterface

  • Interface name: TranslatorInterface
  • Namespace: I18Next
  • This is an interface

Methods

_

string I18Next\TranslatorInterface::_(string key, array|null parameters, string|null context, string|null locale)

Translates the given message.

  • Visibility: public

Arguments

  • key string
  • parameters array|null - <p>Array of parameters used to translate message</p>
  • context string|null - <p>The context of the request</p>
  • locale string|null - <p>The locale or null to use the default</p>