extract pdf use case
This commit is contained in:
parent
b1bee8a16e
commit
bc7937d2b3
7 changed files with 141 additions and 26 deletions
|
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
|
||||
namespace App\Element\UseCases\GetElementPdf;
|
||||
|
||||
class GetElementPdfResult
|
||||
{
|
||||
public function __construct(
|
||||
private string $contents,
|
||||
private string $fileName,
|
||||
private string $mimeType,
|
||||
) {
|
||||
}
|
||||
|
||||
public function getContents(): string
|
||||
{
|
||||
return $this->contents;
|
||||
}
|
||||
|
||||
public function getFileName(): string
|
||||
{
|
||||
return $this->fileName;
|
||||
}
|
||||
|
||||
public function getMimeType(): string
|
||||
{
|
||||
return $this->mimeType;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue