PHP Class Barryvdh\TranslationManager\Manager

Datei anzeigen Open project: barryvdh/laravel-translation-manager Class Usage Examples

Protected Properties

Property Type Description
$app Illuminate\Foundation\Application
$config
$events Illuminate\Events\Dispatcher
$files Illuminate\Filesystem\Filesystem

Public Methods

Method Description
__construct ( Illuminate\Foundation\Application $app, Illuminate\Filesystem\Filesystem $files, Illuminate\Events\Dispatcher $events )
cleanTranslations ( )
exportAllTranslations ( )
exportTranslations ( $group )
findTranslations ( $path = null )
getConfig ( $key = null )
importTranslations ( $replace = false )
missingKey ( $namespace, $group, $key )
truncateTranslations ( )

Protected Methods

Method Description
makeTree ( $translations )

Method Details

__construct() public method

public __construct ( Illuminate\Foundation\Application $app, Illuminate\Filesystem\Filesystem $files, Illuminate\Events\Dispatcher $events )
$app Illuminate\Foundation\Application
$files Illuminate\Filesystem\Filesystem
$events Illuminate\Events\Dispatcher

cleanTranslations() public method

public cleanTranslations ( )

exportAllTranslations() public method

exportTranslations() public method

public exportTranslations ( $group )

findTranslations() public method

public findTranslations ( $path = null )

getConfig() public method

public getConfig ( $key = null )

importTranslations() public method

public importTranslations ( $replace = false )

makeTree() protected method

protected makeTree ( $translations )

missingKey() public method

public missingKey ( $namespace, $group, $key )

truncateTranslations() public method

Property Details

$app protected_oe property

protected Application,Illuminate\Foundation $app
return Illuminate\Foundation\Application

$config protected_oe property

protected $config

$events protected_oe property

protected Dispatcher,Illuminate\Events $events
return Illuminate\Events\Dispatcher

$files protected_oe property

protected Filesystem,Illuminate\Filesystem $files
return Illuminate\Filesystem\Filesystem