PHP Class Console\Locale\ImportLocaleCommand

Inheritance: extends Symfony\Component\Console\Command\Command
Show file Open project: forkcms/forkcms

Protected Methods

Method Description
configure ( ) Configure the command options.
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) Execute the command.

Private Methods

Method Description
getLocalePath ( string $fileOption, string $moduleOption ) : string Get the file or module path according to the input options
importLocale ( string $localePath, boolean $overwrite, Symfony\Component\Console\Output\OutputInterface $output, string | null $specificLocale = null )

Method Details

configure() protected method

Configure the command options.
protected configure ( )

execute() protected method

Execute the command.
protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface