PHP Class App\Console\Commands\TranslationImport

## 명령어 사용 php artisan trans:import {pluginName}
Author: XE Developers ([email protected])
Inheritance: extends Illuminate\Console\Command
Afficher le fichier Open project: xpressengine/xpressengine

Protected Properties

Свойство Type Description
$description string
$name string
$translator Xpressengine\Translation\Translator

Méthodes publiques

Méthode Description
__construct ( Translator $translator ) Create a new command instance.
fire ( ) : mixed Execute the console command.

Méthodes protégées

Méthode Description
getArguments ( ) : array Get the console command arguments.
getLangsDir ( string | null $name = null ) : string Get the directory path where the language file
getNamespace ( string | null $name = null ) : string Get the namespace for the package
getOptions ( ) : array Get the console command options.

Method Details

__construct() public méthode

Create a new command instance.
public __construct ( Translator $translator )
$translator Xpressengine\Translation\Translator translator

fire() public méthode

Execute the console command.
public fire ( ) : mixed
Résultat mixed

getArguments() protected méthode

Get the console command arguments.
protected getArguments ( ) : array
Résultat array

getLangsDir() protected méthode

Get the directory path where the language file
protected getLangsDir ( string | null $name = null ) : string
$name string | null
Résultat string

getNamespace() protected méthode

Get the namespace for the package
protected getNamespace ( string | null $name = null ) : string
$name string | null
Résultat string

getOptions() protected méthode

Get the console command options.
protected getOptions ( ) : array
Résultat array

Property Details

$description protected_oe property

protected string $description
Résultat string

$name protected_oe property

protected string $name
Résultat string

$translator protected_oe property

protected Translator,Xpressengine\Translation $translator
Résultat Xpressengine\Translation\Translator