<?php

namespace NoahVet\Reef\Infrastructure\Security\BSM;

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

class PublisherWithTeamResourceFinder extends AbstractApiWithTeamResourceFinder
{
    public function __construct(
        object $client,
        ReefApiIteratorFactoryInterface $iteratorFactory,
        PublisherWithTeamFactory $factory,
        ResourceType $resourceType,
    ) {
        parent::__construct(
            $client,
            GetAllPublisher::class,
            PublisherResponse::class,
            $factory,
            $iteratorFactory,
            $resourceType,
        );
    }
}
