20 lines
501 B
PHP
20 lines
501 B
PHP
<?php
|
|
|
|
namespace App\Domain\Media;
|
|
|
|
/**
|
|
* Öffentliche Ableitung eines für die Website freigegebenen Mediums.
|
|
* Enthält keine internen Vermerke und keine Adresse einer Bestandsdatei.
|
|
*/
|
|
final class WebsitePresentation
|
|
{
|
|
public function __construct(
|
|
public readonly int $elementId,
|
|
public readonly string $title,
|
|
public readonly string $alt,
|
|
public readonly ?string $credit,
|
|
public readonly string $kind,
|
|
public readonly string $url,
|
|
) {}
|
|
}
|