Initial commit

This commit is contained in:
root
2026-05-09 17:28:23 +02:00
commit 9d73f82529
5575 changed files with 281989 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
<?php
declare(strict_types=1);
namespace App\Models\Compositions;
interface HasBadge
{
public function getBadgePath(): string;
public function getBadgeName(): string;
}
+13
View File
@@ -0,0 +1,13 @@
<?php
declare(strict_types=1);
namespace App\Models\Compositions;
trait HasNotificationUrl
{
public function getNotificationUrl(): string
{
return route('articles.show', [$this->id, $this->slug]);
}
}