File "BasePaymentsSort.php"
Full Path: /var/www/html/back/app/BaseClasses/BasePaymentsSort.php
File size: 367 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
declare(strict_types=1);
namespace App\BaseClasses;
use App\Models\Payment;
use Illuminate\Database\Eloquent\Collection;
abstract class BasePaymentsSort
{
/**
* @param Collection|Payment[] $data
* @param bool $desc
* @return Collection
*/
abstract public static function sort(Collection $data, bool $desc = false): Collection;
}