Don't use anonymous functions
Added some missing doc
This commit is contained in:
parent
70fe4cb95d
commit
b0c4963ac8
2 changed files with 16 additions and 4 deletions
|
@ -88,6 +88,11 @@ class Locale
|
|||
return strtolower($this->region);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get country information from locale.
|
||||
*
|
||||
* @return \Rinvex\Country\Country
|
||||
*/
|
||||
public function getCountry()
|
||||
{
|
||||
return country($this->getIso3166());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue