/** * Returns how many overall impressions the user still has for the campaign. * * @return int */ private function getRemainingTotal() { return $this->campaign->getMaxImpressions() - $this->getTotal(); }