29 lines
480 B
PHP
29 lines
480 B
PHP
<?php
|
|
|
|
namespace App\Model;
|
|
|
|
class EmailAttachmentDto
|
|
{
|
|
public function __construct(
|
|
private readonly string $name,
|
|
private readonly string $content,
|
|
private readonly string $mimeType,
|
|
) {
|
|
}
|
|
|
|
public function getName(): string
|
|
{
|
|
return $this->name;
|
|
}
|
|
|
|
public function getContent(): string
|
|
{
|
|
return $this->content;
|
|
}
|
|
|
|
public function getMimeType(): string
|
|
{
|
|
return $this->mimeType;
|
|
}
|
|
}
|