2021-07-15 21:17:48 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Pdf;
|
|
|
|
|
2021-07-17 16:57:37 +02:00
|
|
|
use App\Member\Member;
|
2021-07-17 17:13:16 +02:00
|
|
|
use Carbon\Carbon;
|
2021-07-15 21:17:48 +02:00
|
|
|
use Illuminate\Support\Collection;
|
|
|
|
|
|
|
|
interface PdfRepository
|
|
|
|
{
|
|
|
|
|
|
|
|
public function getSubject(): string;
|
|
|
|
|
|
|
|
public function setFilename(string $filename): self;
|
|
|
|
|
|
|
|
public function getFilename(): string;
|
|
|
|
|
2021-07-16 00:12:19 +02:00
|
|
|
public function getView(): string;
|
|
|
|
|
|
|
|
public function getTemplate(): string;
|
|
|
|
|
2021-07-17 15:16:29 +02:00
|
|
|
public function getPositions(Collection $page): array;
|
|
|
|
|
|
|
|
public function getFamilyName(Collection $page): string;
|
|
|
|
|
|
|
|
public function getAddress(Collection $page): string;
|
|
|
|
|
|
|
|
public function getZip(Collection $page): string;
|
|
|
|
|
|
|
|
public function getLocation(Collection $page): string;
|
|
|
|
|
2021-07-17 16:57:37 +02:00
|
|
|
public function createable(Member $member): bool;
|
|
|
|
|
|
|
|
public function linkLabel(): string;
|
|
|
|
|
2021-07-17 17:13:16 +02:00
|
|
|
public function getUntil(): Carbon;
|
|
|
|
|
2021-07-17 17:29:59 +02:00
|
|
|
public function getUsage(Collection $page): string;
|
|
|
|
|
2021-07-15 21:17:48 +02:00
|
|
|
}
|