PHP Class Sylius\Component\Core\Provider\TranslationLocaleProvider

Author: Michał Marcinkowski ([email protected])
Inheritance: implements Sylius\Component\Resource\Translation\Provider\TranslationLocaleProviderInterface
Afficher le fichier Open project: sylius/sylius

Méthodes publiques

Méthode Description
__construct ( Sylius\Component\Resource\Repository\RepositoryInterface $localeRepository, string $defaultLocaleCode )
getDefaultLocaleCode ( )
getDefinedLocalesCodes ( )

Method Details

__construct() public méthode

public __construct ( Sylius\Component\Resource\Repository\RepositoryInterface $localeRepository, string $defaultLocaleCode )
$localeRepository Sylius\Component\Resource\Repository\RepositoryInterface
$defaultLocaleCode string

getDefaultLocaleCode() public méthode

getDefinedLocalesCodes() public méthode