123456789101112131415161718192021222324252627282930313233 |
- <?php
-
- namespace App\Contracts;
-
- use App\DTO\ReportCategoryDTO;
- use App\Support\Column;
-
- interface ExportableReport
- {
- public function getTitle(): string;
-
- public function getHeaders(): array;
-
- /**
- * @return ReportCategoryDTO[]
- */
- public function getCategories(): array;
-
- public function getOverallTotals(): array;
-
- /**
- * @return Column[]
- */
- public function getColumns(): array;
-
- public function getPdfView(): string;
-
- public function getAlignmentClass(string $columnName): string;
-
- public function getStartDate(): ?string;
-
- public function getEndDate(): ?string;
- }
|