Property | Type | Description | |
---|---|---|---|
$doctrineHelper | WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface | ||
$localeRepository | WellCommerce\Bundle\LocaleBundle\Repository\LocaleRepositoryInterface |
Method | Description | |
---|---|---|
__construct ( WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface $doctrineHelper, WellCommerce\Bundle\LocaleBundle\Repository\LocaleRepositoryInterface $localeRepository ) | DeleteLocaleCommand constructor. |
Method | Description | |
---|---|---|
configure ( ) | ||
deleteLocaleData ( $localeCode, Symfony\Component\Console\Output\OutputInterface $output ) | Deletes the locale | |
deleteTranslatableEntities ( Doctrine\ORM\EntityRepository $repository, WellCommerce\Bundle\LocaleBundle\Entity\LocaleInterface $locale, Symfony\Component\Console\Output\OutputInterface $output ) | Deletes the translatable entities for locale | |
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | ||
getSourceLocales ( ) : array |
public __construct ( WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface $doctrineHelper, WellCommerce\Bundle\LocaleBundle\Repository\LocaleRepositoryInterface $localeRepository ) | ||
$doctrineHelper | WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface | |
$localeRepository | WellCommerce\Bundle\LocaleBundle\Repository\LocaleRepositoryInterface |
protected deleteLocaleData ( $localeCode, Symfony\Component\Console\Output\OutputInterface $output ) | ||
$localeCode | ||
$output | Symfony\Component\Console\Output\OutputInterface |
protected deleteTranslatableEntities ( Doctrine\ORM\EntityRepository $repository, WellCommerce\Bundle\LocaleBundle\Entity\LocaleInterface $locale, Symfony\Component\Console\Output\OutputInterface $output ) | ||
$repository | Doctrine\ORM\EntityRepository | |
$locale | WellCommerce\Bundle\LocaleBundle\Entity\LocaleInterface | |
$output | Symfony\Component\Console\Output\OutputInterface |
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 |
protected DoctrineHelperInterface,WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine $doctrineHelper | ||
return | WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface |