Files
DatBrowser/app/Notification/Notifications/Hellcase/HellcaseNotificationDailyFree.php
Matthias Guillitte 17af60471b
Some checks failed
Push image to registry / build-image (push) Failing after 4m19s
Fix Notifications
2025-03-02 13:31:26 +01:00

28 lines
674 B
PHP

<?php
namespace App\Notification\Notifications\Hellcase;
use App\Browser\Jobs\Hellcase\HellcaseDailyFreeScreenshot;
use App\Notification\Notification;
class HellcaseNotificationDailyFree extends Notification {
public function __construct(int $jobId, \App\Notification\NotificationBody $body) {
parent::__construct($jobId, $body);
}
/**
* @inheritDoc
*/
public function getImageProjectPath(): string|null {
return HellcaseDailyFreeScreenshot::getImgFileProjectPath();
}
/**
* @inheritDoc
*/
public function getLinkURL(): string|null {
return route('jobs.show', ['job' => $this->job->id]);
}
}