<?php

declare(strict_types=1);

namespace App\Repository\Contract;

use App\Entity\Employee;
use App\Entity\User;

interface EmployeeScopedRepositoryInterface
{
    /**
     * @return list<Employee>
     */
    public function findScoped(User $user): array;

    /**
     * @param list<int> $employeeIds
     *
     * @return array<int, Employee>
     */
    public function findAccessibleByIds(array $employeeIds, User $user): array;
}
