PHP Класс App\Console\Commands\TranslationImport

## 명령어 사용 php artisan trans:import {pluginName}
Автор: XE Developers ([email protected])
Наследование: extends Illuminate\Console\Command
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$description string
$name string
$translator Xpressengine\Translation\Translator

Открытые методы

Метод Описание
__construct ( Translator $translator ) Create a new command instance.
fire ( ) : mixed Execute the console command.

Защищенные методы

Метод Описание
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.

Описание методов

__construct() публичный Метод

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

fire() публичный Метод

Execute the console command.
public fire ( ) : mixed
Результат mixed

getArguments() защищенный Метод

Get the console command arguments.
protected getArguments ( ) : array
Результат array

getLangsDir() защищенный Метод

Get the directory path where the language file
protected getLangsDir ( string | null $name = null ) : string
$name string | null
Результат string

getNamespace() защищенный Метод

Get the namespace for the package
protected getNamespace ( string | null $name = null ) : string
$name string | null
Результат string

getOptions() защищенный Метод

Get the console command options.
protected getOptions ( ) : array
Результат array

Описание свойств

$description защищенное свойство

protected string $description
Результат string

$name защищенное свойство

protected string $name
Результат string

$translator защищенное свойство

protected Translator,Xpressengine\Translation $translator
Результат Xpressengine\Translation\Translator