<?php

declare(strict_types=1);

namespace App\Module\Catalog\Domain\Repository;

use App\Module\Catalog\Domain\Entity\CategoryType;

interface CategoryTypeRepositoryInterface
{
    public function findById(int $id): ?CategoryType;

    /**
     * @return list<CategoryType>
     */
    public function findAllOrderedByLabel(): array;
}
