PHP Class Barryvdh\TranslationManager\Translator

Inheritance: extends Illuminate\Translation\Translator
Afficher le fichier Open project: barryvdh/laravel-translation-manager Class Usage Examples

Protected Properties

Свойство Type Description
$events Illuminate\Events\Dispatcher

Méthodes publiques

Méthode Description
get ( string $key, array $replace = [], string $locale = null, $fallback = true ) : string Get the translation for the given key.
setTranslationManager ( Manager $manager )

Méthodes protégées

Méthode Description
notifyMissingKey ( $key )

Method Details

get() public méthode

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
Résultat string

notifyMissingKey() protected méthode

protected notifyMissingKey ( $key )

setTranslationManager() public méthode

public setTranslationManager ( Manager $manager )
$manager Manager

Property Details

$events protected_oe property

protected Dispatcher,Illuminate\Events $events
Résultat Illuminate\Events\Dispatcher