PHP DTO representing a full email template response with id, name, locale, brand, subject, and template fields. Reuse for serializing email template API responses.
// Source: https://github.com/billabear/billabear | License: Apache-2.0 | Copyright 2023-2025 Humbly Arrogant Software Limited
// Provided via justclaw.it.com; keep this notice with the code.
<?php
/*
* Copyright Iain Cambridge 2023-2026.
*
* Use of this software is governed by the Fair Core License, Version 1.0, ALv2 Future License included in the LICENSE.md file and at https://github.com/BillaBear/billabear/blob/main/LICENSE.
*/
namespace BillaBear\Dto\Response\App\EmailTemplate;
use Symfony\Component\Serializer\Annotation\SerializedName;
class FullEmailTemplate
{
private string $id;
private string $name;
private string $locale;
private string $brand;
#[SerializedName('use_emsp_template')]
private bool $useEmspTemplate;
private ?string $subject;
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key