Country - viames/pair GitHub Wiki
Pair framework: Country
Pair\Models\Country represents country metadata used by locale and language features.
Main behavior
_init()configures fields and constraints.
Implementation example
$it = \Pair\Models\Country::findByCode('IT');
if ($it) {
echo $it->name;
}
Notes
- Used by language and localization layers.