Files
backend-mm/app/Repositories/Ecommerce/Channel/ChannelRepository.php
Mekan1206 a07c764dfe WIP
2026-04-30 19:50:59 +05:00

20 lines
405 B
PHP

<?php
namespace App\Repositories\Ecommerce\Channel;
use App\Models\Ecommerce\Channel\Channel;
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');
}
}