File: docs/source/api/I18Next/TranslatorInterface.rst

Recommend this page to a friend!
  Classes of Francesco Danti  >  ATK4 i18next PHP  >  docs/source/api/I18Next/TranslatorInterface.rst  >  Download  
File: docs/source/api/I18Next/TranslatorInterface.rst
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: ATK4 i18next PHP
Translate application texts like il8next-PHP
Author: By
Last change:
Date: 1 year ago
Size: 1,148 bytes
 

Contents

Class file image Download
.. rst-class:: phpdoctorst

.. role:: php(code)
	:language: php


TranslatorInterface
===================


.. php:namespace:: I18Next

.. php:interface:: TranslatorInterface


	:Source:
		`src/I18Next/TranslatorInterface.php#7 <https://github.com/abbadon1334/atk4-i18next-php/blob/master/src/I18Next/TranslatorInterface.php#L7>`_
	


Summary
-------

Methods
~~~~~~~

* :php:meth:`public \_\($key, $parameters, $context, $locale\)<I18Next\\TranslatorInterface::\_\(\)>`


Methods
-------

.. rst-class:: public

	.. php:method:: public _( $key, $parameters=null, $context=null, $locale=null)
	
		.. rst-class:: phpdoc-description
		
			| Translates the given message\.
			
		
		:Source:
			`src/I18Next/TranslatorInterface.php#19 <https://github.com/abbadon1334/atk4-i18next-php/blob/master/src/I18Next/TranslatorInterface.php#L19>`_
		
		
		:Parameters:
			* **$key** (string)  
			* **$parameters** (array | null)  Array of parameters used to translate message
			* **$context** (string | null)  The context of the request
			* **$locale** (string | null)  The locale or null to use the default

		
		:Returns: string The translated string
	
	


For more information send a message to info at phpclasses dot org.