bozzemagiche/app/Repositories/Country/CountryRepository.php
2025-09-14 18:41:00 +02:00

23 lines
520 B
PHP

<?php
namespace Vanguard\Repositories\Country;
use Illuminate\Database\Eloquent\Collection as EloquentCollection;
use Illuminate\Support\Collection;
use Vanguard\Country;
interface CountryRepository
{
/**
* Create $key => $value array for all available countries.
*/
public function lists(string $column = 'name', string $key = 'id'): Collection;
/**
* Get all available countries.
*
* @return EloquentCollection<Country>
*/
public function all(): EloquentCollection;
}