PHP Class Sylius\Component\Locale\Provider\LocaleProvider

Author: Paweł Jędrzejewski ([email protected])
Author: Gonzalo Vilaseca ([email protected])
Inheritance: implements Sylius\Component\Locale\Provider\LocaleProviderInterface
显示文件 Open project: sylius/sylius

Public Methods

Method Description
__construct ( Sylius\Component\Resource\Repository\RepositoryInterface $localeRepository, string $defaultLocaleCode )
getAvailableLocalesCodes ( )
getDefaultLocaleCode ( )

Method Details

__construct() public method

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

getAvailableLocalesCodes() public method

getDefaultLocaleCode() public method