PATH:
home
/
lab2454c
/
costbloc.com
/
Modules
/
Paytr
/
Scope
<?php /** * @package Paytr scope * @author TechVillage <support@techvill.org> * @contributor Md. Mostafijur Rahman <[mostafijur.techvill@gmail.com]> * @created 05-04-23 */ namespace Modules\Paytr\Scope; use Illuminate\Database\Eloquent\{ Builder, Model, Scope }; class PaytrScope implements Scope { /** * Scope of the paytr * * @param Builder $builder * @param Model $model * @return void */ public function apply(Builder $builder, Model $model) { $builder->where('alias', 'paytr'); } }
[+]
..
[-] PaytrScope.php
[edit]