You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
payment/app/Model/User.php

14 lines
235 B
PHP

<?php
declare(strict_types=1);
namespace App\Model;
class User extends Model
{
protected $table = 'users';
public static function getPlatformAccount() {
return self::where('is_platform_account', 1)->first();
}
}