프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$doctrineHelper | WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface | ||
$localeRepository | WellCommerce\Bundle\LocaleBundle\Repository\LocaleRepositoryInterface |
메소드 | 설명 | |
---|---|---|
__construct ( WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface $doctrineHelper, WellCommerce\Bundle\LocaleBundle\Repository\LocaleRepositoryInterface $localeRepository ) | DeleteLocaleCommand constructor. |
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface |