PHP Class Console\Locale\EnableLocaleCommand

Inheritance: extends Symfony\Component\Console\Command\Command
Afficher le fichier Open project: forkcms/forkcms

Méthodes publiques

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

Méthodes protégées

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

Private Methods

Méthode Description
askToAddInterfaceLocale ( )
askToEnableTheLocaleForRedirecting ( )
askToInstall ( ) : boolean
askToMakeTheLocaleAccessibleToVisitors ( ) : boolean
getInstallableLocale ( ) : array
installWorkingLocale ( boolean $force = false )
selectWorkingLocale ( )
showLocaleOverview ( )

Method Details

__construct() public méthode

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

configure() protected méthode

Configure the command options.
protected configure ( )

execute() protected méthode

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