PHP Interface WellCommerce\Bundle\LocaleBundle\Repository\LocaleRepositoryInterface

Author: Adam Piotrowski ([email protected])
Inheritance: extends WellCommerce\Bundle\DoctrineBundle\Repository\RepositoryInterface
Show file Open project: wellcommerce/wellcommerce Interface Usage Examples

Public Methods

Method Description
getAvailableLocales ( ) : array Returns defined locales as an array
getLocaleNames ( ) : array Returns an array of locales fetched from intl component

Method Details

getAvailableLocales() public method

Returns defined locales as an array
public getAvailableLocales ( ) : array
return array

getLocaleNames() public method

Returns an array of locales fetched from intl component
public getLocaleNames ( ) : array
return array