PHP Класс Themsaid\Langman\Commands\SyncCommand

Наследование: extends Illuminate\Console\Command
Показать файл Открыть проект

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

Свойство Тип Описание
$description string The description of the console command.
$signature string The name and signature of the console command.

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

Метод Описание
__construct ( Manager $manager ) : void Command constructor.
handle ( ) : mixed Execute the console command.

Приватные методы

Метод Описание
fillMissingKeys ( string $fileName, array $foundMissingKeys, string $languageKey ) : void Fill the missing keys with an empty string in the given file.
syncKeysBetweenLanguages ( $translationFiles ) : void Synchronize keys that exist in a language but not the other.
syncKeysFromFiles ( $translationFiles ) : void Synchronize keys found in project files but missing in languages.

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

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

Command constructor.
public __construct ( Manager $manager ) : void
$manager Themsaid\Langman\Manager
Результат void

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

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

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

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

The description of the console command.
protected string $description
Результат string

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

The name and signature of the console command.
protected string $signature
Результат string