Skip to content

Country

Viames Marino edited this page Feb 23, 2026 · 1 revision

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.

See also: Language, Locale.

Clone this wiki locally