Files
ops-Gazelle/app/Report/Collage.php
2024-12-20 09:39:21 +01:00

27 lines
623 B
PHP

<?php
namespace Gazelle\Report;
class Collage extends AbstractReport {
public function __construct(
protected readonly int $reportId,
protected readonly \Gazelle\Collage $subject
) {}
public function template(): string {
return 'report/collage.twig';
}
public function bbLink(): string {
return "the collage [url={$this->subject->url()}]" . display_str($this->subject->name()) . '[/url]';
}
public function titlePrefix(): string {
return 'Collage Report: ';
}
public function title(): string {
return $this->subject->name();
}
}