mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-01-16 18:04:34 -05:00
27 lines
577 B
PHP
27 lines
577 B
PHP
<?php
|
|
|
|
namespace Gazelle\Report;
|
|
|
|
class User extends AbstractReport {
|
|
public function __construct(
|
|
protected readonly int $reportId,
|
|
protected readonly \Gazelle\User $subject,
|
|
) { }
|
|
|
|
public function template(): string {
|
|
return 'report/user.twig';
|
|
}
|
|
|
|
public function bbLink(): string {
|
|
return "the user [user]{$this->subject->username()}[/user]";
|
|
}
|
|
|
|
public function titlePrefix(): string {
|
|
return 'User Report: ';
|
|
}
|
|
|
|
public function title(): string {
|
|
return $this->subject->username();
|
|
}
|
|
}
|