first commit

This commit is contained in:
2024-12-19 04:19:57 +02:00
commit cade33cfb6
23 changed files with 768 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
<?php
namespace LucentNotifications\Collections;
use Illuminate\Support\Collection;
use LucentNotifications\Models\QuietHourSection;
class QuietHoursCollecton extends Collection
{
function __construct($items = [])
{
return collect($items)->map(fn($item) => new QuietHourSection($item));
}
}