<?php

declare(strict_types=1);

namespace App\Module\Commercial\Domain\Repository;

use App\Module\Commercial\Domain\Entity\Country;

interface CountryRepositoryInterface
{
    public function findById(int $id): ?Country;

    /**
     * Retourne tous les pays tries position ASC puis name ASC.
     *
     * @return list<Country>
     */
    public function findAllOrdered(): array;
}
