PhoneCodeRepository
in package
Table of Contents
Methods
- findAll() : Simple|null
- Get all Country objects
- findByCustomCountryList() : Simple|null
- country list in config
- findByEu() : Simple
- findById() : Country|null
- Get Country object by identification
- getCountriesByCode() : array<string|int, mixed>|null
Methods
findAll()
Get all Country objects
public
findAll() : Simple|null
Return values
Simple|null —Return Country object
findByCustomCountryList()
country list in config
public
findByCustomCountryList(array<string|int, mixed> $countryIds) : Simple|null
Parameters
- $countryIds : array<string|int, mixed>
Return values
Simple|nullfindByEu()
public
findByEu() : Simple
Return values
SimplefindById()
Get Country object by identification
public
findById(int $countryId) : Country|null
Parameters
- $countryId : int
-
Country identification
Return values
Country|null —Return Country entity
getCountriesByCode()
public
getCountriesByCode(array<string|int, mixed> $codes) : array<string|int, mixed>|null
Parameters
- $codes : array<string|int, mixed>