コード例 #1
0
ファイル: Impressions.php プロジェクト: artkonekt/kampaign
 /**
  * Returns how many overall impressions the user still has for the campaign.
  *
  * @return int
  */
 private function getRemainingTotal()
 {
     return $this->campaign->getMaxImpressions() - $this->getTotal();
 }