File "BasePaymentsSort.php"
Full path: /var/www/html/back/app/BaseClasses/BasePaymentsSort.php
File
size: 0.36 KB (367 B bytes)
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor Back
<?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;
}