<?php

namespace App\Modules\DefinedService\TypeDefinedService\Application;

use App\Modules\Shared\Domain\Bus\Query\Response;

class TypeDefinedServiceResponses implements Response
{

    private array $data;

    public function __construct(TypeDefinedServiceResponse ...$data)
    {
        $this->data = $data;
    }

    public function data()
    {
        return $this->data;
    }
}
