get() public method

Get the translation for the given key.
public get ( string $key, array $replace = [], string $locale = null, $fallback = true ) : string
$key string
$replace array
$locale string
return string
 /**
  * Get the translation for the given key.
  *
  * @param string $key
  * @param array $replace
  * @param string $locale
  * @return string 
  * @static 
  */
 public static function get($key, $replace = array(), $locale = null)
 {
     return \Barryvdh\TranslationManager\Translator::get($key, $replace, $locale);
 }