first commit
This commit is contained in:
commit
cade33cfb6
23 files changed
+768
No files matched your search
@@ -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));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user