<?php

namespace NoahVet\Reef\Infrastructure\Security\BSM;

use NoahVet\Reef\Bsm\Endpoint\GetAllVeterinaryEstablishment;
use NoahVet\Reef\Bsm\Model\VeterinaryEstablishmentResponse;
use NoahVet\Reef\Domain\Security\Model\ResourceType;
use NoahVet\Reef\Infrastructure\Security\AbstractApiWithTeamResourceFinder;
use NoahVet\Reef\Iterator\Factory\ReefApiIteratorFactoryInterface;

class VeterinaryEstablishmentWithTeamResourceFinder extends AbstractApiWithTeamResourceFinder
{
    public function __construct(
        object $client,
        ReefApiIteratorFactoryInterface $iteratorFactory,
        VeterinaryEstablishmentWithTeamFactory $factory,
        ResourceType $resourceType,
    ) {
        parent::__construct(
            $client,
            GetAllVeterinaryEstablishment::class,
            VeterinaryEstablishmentResponse::class,
            $factory,
            $iteratorFactory,
            $resourceType,
        );
    }
}
