name = $member->fullname; $this->slug = $member->slug; $this->secondLine = "geb. am {$member->birthday->format('d.m.Y')}, wohnhaft in {$member->location}"; $this->now = now()->format('d.m.Y'); $this->sender = $member->toSender(); } public function basename(): string { return "efz-fuer-{$this->slug}"; } public function getEngine(): Engine { return Engine::PDFLATEX; } public function template(): Template { return Template::make('tex.templates.efz'); } public function view(): string { return 'tex.efz'; } }