Property | Type | Description | |
---|---|---|---|
$description | string | The name and signature of the console command. | |
$file | string | Filename to read from. | |
$files | array | Array of requested file in different languages. | |
$key | string | Key name to show results for. | |
$languages | array | Array of displayable languages. | |
$signature | string | The name and signature of the console command. |
Method | Description | |
---|---|---|
__construct ( |
ListCommand constructor. | |
handle ( ) : mixed | Execute the console command. |
Method | Description | |
---|---|---|
filesFromKey ( ) : array | Array of requested file in different languages. | |
getLanguages ( ) : array | Get the languages to be displayed in the command output. | |
parseKey ( ) : void | Parse the given key argument. | |
shouldShowKey ( $key ) : boolean | Determine if the given key should exist in the output. | |
tableRows ( ) : array | The output of the table rows. |
public __construct ( |
||
$manager |
protected string $description | ||
return | string |
protected array $files | ||
return | array |
protected array $languages | ||
return | array |
protected string $signature | ||
return | string |