예제 #1
0
 private function addConfirmedDeposit(Deposit $entity)
 {
     $entity->getAccount()->addTotalDeposit($entity->getAmount());
     $this->stats->addTotalDeposit($entity->getAmount());
     if ($entity->getReferrerPayout()) {
         $entity->getAccount()->addTotalUnpaidReferralEarnings($entity->getReferrerPayout()->getAmount());
     }
 }
예제 #2
0
파일: Round.php 프로젝트: RinWorld/Ponzi-1
 public function __construct()
 {
     $this->stats = new Stats();
     $this->stats->setRound($this);
 }