uawdijnntqw1x1x1
IP : 3.139.93.242
Hostname : host45.registrar-servers.com
Kernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
jackpotjunglegam
/
public_html
/
80d3f
/
.
/
..
/
0b2d7
/
..
/
2f7f6
/
..
/
core
/
app
/
Models
/
GatewayCurrency.php
/
/
<?php namespace App\Models; use App\Constants\Status; use Illuminate\Database\Eloquent\Model; class GatewayCurrency extends Model { protected $casts = ['status' => 'boolean']; // Relation public function method() { return $this->belongsTo(Gateway::class, 'method_code', 'code'); } public function currencyIdentifier() { return $this->name ?? $this->method->name . ' ' . $this->currency; } public function scopeBaseCurrency() { return $this->method->crypto == Status::ENABLE ? 'USD' : $this->currency; } public function scopeBaseSymbol() { return $this->method->crypto == Status::ENABLE ? '$' : $this->symbol; } }
/home/jackpotjunglegam/public_html/80d3f/./../0b2d7/../2f7f6/../core/app/Models/GatewayCurrency.php