add swiftpayments from old source
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace App\Modules\Swiftpayment\Repositories;
|
||||
|
||||
use App\Modules\Swiftpayment\Models\Swiftpayment;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
||||
class SwiftpaymentRepository
|
||||
{
|
||||
/**
|
||||
* $queryBuilder
|
||||
*
|
||||
* @var \Illuminate\Database\Eloquent\Builder<\App\Modules\Swiftpayment\Models\Swiftpayment>
|
||||
*/
|
||||
protected Builder $queryBuilder;
|
||||
|
||||
/**
|
||||
* Model
|
||||
*/
|
||||
public static function model(): string
|
||||
{
|
||||
return Swiftpayment::class;
|
||||
}
|
||||
|
||||
/**
|
||||
* Product repository
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->queryBuilder = self::model()::query();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user