<?php

declare(strict_types=1);

namespace App\Module\Commercial\Domain\Repository;

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

interface BankRepositoryInterface
{
    public function findById(int $id): ?Bank;

    /**
     * Retourne toutes les banques triees position ASC puis label ASC.
     *
     * @return list<Bank>
     */
    public function findAllOrdered(): array;
}
