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

18 lines
377 B
PHP

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