Файловый менеджер - Редактировать - /home/clickysoft/public_html/somni.clickysoft.net/app/Repositories/WalletRepository.php
Назад
<?php namespace App\Repositories; use App\Interfaces\WalletRepositoryInterface; use App\Models\Property; use App\Models\Country; use App\Models\City; use App\Models\Wallet; use App\Models\User; class WalletRepository implements WalletRepositoryInterface { public function createWallet($data){ return $wallet = Wallet::create($data); } public function getWalletByUserId($user_id){ $wallet = Wallet::where('user_id',$user_id)->first(); return $wallet; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка