Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php namespace Drupal\Core\StringTranslation\Translator; /** * Interface for objects c..
Decoded Output download
<?php
namespace Drupal\Core\StringTranslation\Translator;
/**
* Interface for objects capable of string translation.
*/
interface TranslatorInterface {
/**
* Retrieves English string to given language.
*
* @param string $langcode
* Language code to translate to.
* @param string $string
* The source string.
* @param string $context
* The string context.
*
* @return string|false
* Translated string if there is a translation, FALSE if not.
*/
public function getStringTranslation($langcode, $string, $context);
/**
* Resets translation cache.
*
* Since most translation systems implement some form of caching, this
* provides a way to delete that cache.
*/
public function reset();
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Drupal\Core\StringTranslation\Translator;
/**
* Interface for objects capable of string translation.
*/
interface TranslatorInterface {
/**
* Retrieves English string to given language.
*
* @param string $langcode
* Language code to translate to.
* @param string $string
* The source string.
* @param string $context
* The string context.
*
* @return string|false
* Translated string if there is a translation, FALSE if not.
*/
public function getStringTranslation($langcode, $string, $context);
/**
* Resets translation cache.
*
* Since most translation systems implement some form of caching, this
* provides a way to delete that cache.
*/
public function reset();
}
Function Calls
None |
Stats
MD5 | 2f6c02b327625decd3a0c2be88245292 |
Eval Count | 0 |
Decode Time | 101 ms |