This commit is contained in:
2026-05-08 20:49:37 +05:00
commit bb5d03bf86
2758 changed files with 1485998 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php
namespace App\Repositories\Ecommerce\Channel;
use App\Models\Ecommerce\Channel\Channel;
use App\Repositories\System\Cache\CacheRepository;
use Illuminate\Support\Collection;
class ChannelRepository
{
public const CHANNEL_CACHE_NAME_FOR_NOVA = 'cs-nova-models-channels';
/**
* Channels
*/
public static function values(): array|Collection
{
return Channel::where('is_visible', true)->pluck('name', 'id');
}
}