diff --git a/src/Entity/PodcastBrandingConfiguration.php b/src/Entity/PodcastBrandingConfiguration.php index 027b1300f..9bf001246 100644 --- a/src/Entity/PodcastBrandingConfiguration.php +++ b/src/Entity/PodcastBrandingConfiguration.php @@ -4,6 +4,19 @@ declare(strict_types=1); namespace App\Entity; +use App\Utilities\Types; + class PodcastBrandingConfiguration extends AbstractStationConfiguration { + public const PUBLIC_CUSTOM_HTML = 'public_custom_html'; + + public function getPublicCustomHtml(): ?string + { + return Types::stringOrNull($this->get(self::PUBLIC_CUSTOM_HTML), true); + } + + public function setPublicCustomHtml(?string $html): void + { + $this->set(self::PUBLIC_CUSTOM_HTML, $html); + } }