adrema/app/Pdf/BillType.php

45 lines
689 B
PHP

<?php
namespace App\Pdf;
use Illuminate\Support\Collection;
class BillType implements PdfRepository
{
public string $filename;
public function __construct(Collection $pages)
{
$this->pages = $pages;
}
public function getSubject(): string
{
return 'Rechnung';
}
public function setFilename(string $filename): self
{
$this->filename = $filename;
return $this;
}
public function getFilename(): string
{
return $this->filename;
}
public function getView(): string
{
return 'tex.bill';
}
public function getTemplate(): string
{
return 'default';
}
}