PHP 클래스 Fenos\Notifynder\Translator\TranslatorManager
The Translator is responsible to translate the text
of the notifications with the custom languages that
you'll define in the configuration file. Translations
are cached in storage/app/notifynder in a json format.
Usage:
[
'it' => [
'name.category' => 'text to {parse value} translate'
]
]
파일 보기
프로젝트 열기: fenos/notifynder
1 사용 예제들
보호된 프로퍼티들
공개 메소드들
보호된 메소드들
메소드 |
설명 |
|
cacheFromConfig ( ) : array |
Get the translations from the
array of the config file and it
will cache them. |
|
메소드 상세
public __construct ( Compiler $compiler, Illuminate\Contracts\Config\Repository $config ) |
$compiler |
Compiler |
|
$config |
Illuminate\Contracts\Config\Repository |
|
cacheFromConfig()
보호된 메소드
Get the translations from the
array of the config file and it
will cache them.
Get selected language of translations.
Translate the given category.
프로퍼티 상세
protected Compiler,Fenos\Notifynder\Translator $compiler |
리턴 |
Compiler |
|