PHP 클래스 Themsaid\Langman\Commands\SyncCommand

상속: extends Illuminate\Console\Command
파일 보기 프로젝트 열기: themsaid/laravel-langman

보호된 프로퍼티들

프로퍼티 타입 설명
$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