glhd/laravel-addressing

View on GitHub
src/Support/Facades/Addressing.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

namespace Galahad\LaravelAddressing\Support\Facades;

use Galahad\LaravelAddressing\Collection\CountryCollection;
use Galahad\LaravelAddressing\Entity\Country;
use Galahad\LaravelAddressing\LaravelAddressing;
use Illuminate\Support\Facades\Facade;

/**
 * @method static Country|null country($country_code, $locale = null)
 * @method static Country countryOrFail($country_code, $locale = null)
 * @method static CountryCollection countries($locale = null)
 * @method static Country|null countryByName($name)
 * @method static Country|null findCountry($input)
 */
class Addressing extends Facade
{
    protected static function getFacadeAccessor(): string
    {
        return LaravelAddressing::class;
    }
}