Свойство | Тип | Описание | |
---|---|---|---|
$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 |
public syncDictionary ( ) |
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 | |