Files
backend-mm/app/Repositories/Ecommerce/Collection/CollectionRepository.php
2026-03-17 16:56:32 +05:00

19 lines
428 B
PHP

<?php
namespace App\Repositories\Ecommerce\Collection;
use App\Models\Ecommerce\Product\Collection\Collection as CollectionModel;
use App\Repositories\System\Cache\CacheRepository;
use Illuminate\Support\Collection;
class CollectionRepository
{
/**
* Channels
*/
public static function values(): array|Collection
{
return CollectionModel::where('is_visible', true)->pluck('name', 'id');
}
}