<?php

namespace NoahVet\Reef\Application\Resolver;

class RequestBodyResolver implements RequestBodyResolverInterface
{
    /**
     * @param class-string $janeDtoFQCN
     */
    public function __construct(
        private readonly string $requestContent,
        private readonly string $janeDtoFQCN,
    ) {
    }

    #[\Override]
    public function requestContent(): string
    {
        return $this->requestContent;
    }

    /**
     * @return class-string
     */
    #[\Override]
    public function janeDtoFQCN(): string
    {
        return $this->janeDtoFQCN;
    }
}
