Total Complexity | 3 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class AdminSetting extends Model |
||
10 | { |
||
11 | use HasFactory; |
||
12 | |||
13 | public static function getStripeApiKey(){ |
||
14 | $globalSetting = self::first(); |
||
15 | return $globalSetting->stripe_api_key; |
||
16 | } |
||
17 | |||
18 | public static function getStripeApiSecretKey(){ |
||
19 | $globalSetting = self::first(); |
||
20 | return $globalSetting->stripe_api_secret; |
||
21 | } |
||
22 | |||
23 | public static function getIban(){ |
||
26 | } |
||
27 | |||
28 | } |
||
29 |