PHP Class Potsky\LaravelLocalizationHelpers\Command\LocalizationFind

Inheritance: extends LocalizationAbstract
Show file Open project: potsky/laravel-localization-helpers

Protected Properties

Property Type Description
$description string The console command description.
$folders array Folders to seek for missing translations
$name string The console command name.
$trans_methods array functions and method to catch translations

Public Methods

Method Description
__construct ( Illuminate\Config\Repository $configRepository ) Create a new command instance.
fire ( ) : mixed Execute the console command.

Protected Methods

Method Description
getArguments ( ) : array Get the console command arguments.
getOptions ( ) : array Get the console command options.

Method Details

__construct() public method

Create a new command instance.
public __construct ( Illuminate\Config\Repository $configRepository )
$configRepository Illuminate\Config\Repository

fire() public method

Execute the console command.
public fire ( ) : mixed
return mixed

getArguments() protected method

Get the console command arguments.
protected getArguments ( ) : array
return array

getOptions() protected method

Get the console command options.
protected getOptions ( ) : array
return array

Property Details

$description protected property

The console command description.
protected string $description
return string

$folders protected property

Folders to seek for missing translations
protected array $folders
return array

$name protected property

The console command name.
protected string $name
return string

$trans_methods protected property

functions and method to catch translations
protected array $trans_methods
return array