Property | Type | Description | |
---|---|---|---|
$description | string | The name and signature of the console command. | |
$fileName | string | The name of the language file we're going to alter. | |
$files | array | Array of requested file in different languages. | |
$key | string | The name of the key we're going to update or create. | |
$languageKey | null | string | The name of the only language we're going to alter its file. | |
$packageName | string | The name of the package. | |
$signature | string | The name and signature of the console command. |
Method | Description | |
---|---|---|
__construct ( |
ListCommand constructor. | |
handle ( ) : mixed | Execute the console command. |
Method | Description | |
---|---|---|
collectValues ( $languages ) : array | Collect translation values from console via questions. | |
filesFromKey ( ) : array | Array of requested file in different languages. | |
fillKey ( ) : void | Fill a translation key in all languages. | |
parseKey ( ) : boolean | Parse the given key argument. |
public __construct ( |
||
$manager | ||
return | void |
protected string $description | ||
return | string |
protected string $fileName | ||
return | string |
protected array $files | ||
return | array |
protected string $key | ||
return | string |
protected string $packageName | ||
return | string |
protected string $signature | ||
return | string |