src/Service/MoovlyService.php
public function getTemplate(string $templateId): Template
    {
        try {
            $template = TemplateFactory::createFromAPIResponse($this->client->getTemplate($templateId));
        } catch (ClientException $ce) {
            $response = $ce->getResponse();

            throw ExceptionFactory::create($response, $ce);
        }

        return $template;
    }
public function getTemplate(string $templateId): Template
    {
        try {
            $template = TemplateFactory::createFromAPIResponse($this->client->getTemplate($templateId));
        } catch (ClientException $ce) {
            $response = $ce->getResponse();

            throw ExceptionFactory::create($response, $ce);
        }

        return $template;
    }
Fetches a template.

@param string $templateId

@return Template

@throws MoovlyException