PHP Class Console\Locale\EnableLocaleCommand

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

Public Methods

Method Description
__construct ( ModulesSettings $settings, array $installedModules, boolean $multiLanguageIsEnabled, string | null $name = null )

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
askToAddInterfaceLocale ( )
askToEnableTheLocaleForRedirecting ( )
askToInstall ( ) : boolean
askToMakeTheLocaleAccessibleToVisitors ( ) : boolean
getInstallableLocale ( ) : array
installWorkingLocale ( boolean $force = false )
selectWorkingLocale ( )
showLocaleOverview ( )

Method Details

__construct() public method

public __construct ( ModulesSettings $settings, array $installedModules, boolean $multiLanguageIsEnabled, string | null $name = null )
$settings common\ModulesSettings
$installedModules array
$multiLanguageIsEnabled boolean
$name string | null

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