PHP Class WellCommerce\Bundle\LocaleBundle\Command\AddLocaleCommand

Author: Adam Piotrowski ([email protected])
Inheritance: extends Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand
Mostrar archivo Open project: wellcommerce/wellcommerce

Protected Properties

Property Type Description
$availableLocales array
$currencyDataSet WellCommerce\Bundle\CurrencyBundle\DataSet\Admin\CurrencyDataSet
$installedCurrencies array
$installedLocales array
$localeDataSet WellCommerce\Bundle\LocaleBundle\DataSet\Admin\LocaleDataSet
$localeManager WellCommerce\Bundle\DoctrineBundle\Manager\ManagerInterface

Protected Methods

Method Description
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

Private Methods

Method Description
chooseSourceLocale ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : string
chooseTargetCurrency ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : string
chooseTargetLocale ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : string
copyLocaleData ( string $sourceLocaleCode, string $targetLocaleCode )
createLocale ( string $localeCode, string $targetLocaleCurrency ) : WellCommerce\Bundle\LocaleBundle\Entity\LocaleInterface
findLocale ( string $code ) : WellCommerce\Bundle\LocaleBundle\Entity\LocaleInterface
getAvailableLocales ( ) : array
getCurrencyDataSet ( ) : CurrencyDataSet
getInstalledCurrencies ( ) : array
getInstalledLocales ( ) : array
getLocaleCopier ( ) : WellCommerce\Bundle\LocaleBundle\Copier\LocaleCopierInterface
getLocaleDataSet ( ) : WellCommerce\Bundle\LocaleBundle\DataSet\Admin\LocaleDataSet
getLocaleManager ( ) : WellCommerce\Bundle\DoctrineBundle\Manager\ManagerInterface
getTargetCurrency ( $targetCurrency ) : WellCommerce\Bundle\CurrencyBundle\Entity\CurrencyInterface

Method Details

configure() protected method

protected configure ( )

execute() protected method

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

initialize() protected method

protected initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

Property Details

$availableLocales protected_oe property

protected array $availableLocales
return array

$currencyDataSet protected_oe property

protected CurrencyDataSet,WellCommerce\Bundle\CurrencyBundle\DataSet\Admin $currencyDataSet
return WellCommerce\Bundle\CurrencyBundle\DataSet\Admin\CurrencyDataSet

$installedCurrencies protected_oe property

protected array $installedCurrencies
return array

$installedLocales protected_oe property

protected array $installedLocales
return array

$localeDataSet protected_oe property

protected LocaleDataSet,WellCommerce\Bundle\LocaleBundle\DataSet\Admin $localeDataSet
return WellCommerce\Bundle\LocaleBundle\DataSet\Admin\LocaleDataSet

$localeManager protected_oe property

protected ManagerInterface,WellCommerce\Bundle\DoctrineBundle\Manager $localeManager
return WellCommerce\Bundle\DoctrineBundle\Manager\ManagerInterface