프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$filesystem | Symfony\Component\Filesystem\Filesystem | ||
$kernel | Symfony\Component\HttpKernel\KernelInterface | ||
$locales | array | |
||
$propertyAccessor | Symfony\Component\PropertyAccess\PropertyAccessorInterface |
메소드 | 설명 | |
---|---|---|
syncDictionary ( ) | Synchronizes database and filesystem translations |
메소드 | 설명 | |
---|---|---|
getDatabaseTranslations ( WellCommerce\Bundle\LocaleBundle\Entity\LocaleInterface $locale ) : array | Returns an array containing all previously imported translations | |
getFilesystemTranslationsPath ( ) | ||
synchronizeDatabaseTranslations ( array $messages, WellCommerce\Bundle\LocaleBundle\Entity\LocaleInterface $locale ) | ||
updateTranslationsForLocale ( WellCommerce\Bundle\LocaleBundle\Entity\LocaleInterface $locale ) |
protected getDatabaseTranslations ( WellCommerce\Bundle\LocaleBundle\Entity\LocaleInterface $locale ) : array | ||
$locale | WellCommerce\Bundle\LocaleBundle\Entity\LocaleInterface | |
리턴 | array |
protected synchronizeDatabaseTranslations ( array $messages, WellCommerce\Bundle\LocaleBundle\Entity\LocaleInterface $locale ) | ||
$messages | array | |
$locale | WellCommerce\Bundle\LocaleBundle\Entity\LocaleInterface |
protected updateTranslationsForLocale ( WellCommerce\Bundle\LocaleBundle\Entity\LocaleInterface $locale ) | ||
$locale | WellCommerce\Bundle\LocaleBundle\Entity\LocaleInterface |
protected Filesystem,Symfony\Component\Filesystem $filesystem | ||
리턴 | Symfony\Component\Filesystem\Filesystem |
protected KernelInterface,Symfony\Component\HttpKernel $kernel | ||
리턴 | Symfony\Component\HttpKernel\KernelInterface |
protected array|Locale[],WellCommerce\Bundle\LocaleBundle\Entity $locales | ||
리턴 | array | |