You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

28 lines
605 B

<?php
namespace App\Service\v3\Implementations;
use App\Model\v3\FinancialRecord;
use App\Service\v3\Interfaces\RevenueListServiceInterface;
class RevenueListService implements RevenueListServiceInterface
{
public function do()
{
// TODO: Implement do() method.
}
public function check($userId)
{
$financialRecord = new FinancialRecord();
$mod = bcmod((string)$userId, '5', 0);
$financialRecord->suffix($mod);
return $financialRecord::query()->get();
}
public function undo()
{
// TODO: Implement undo() method.
}
}