예제 #1
0
 /**
  * Construct
  *
  * @param ContributionRepository $contributionRepository
  * @param Pugs                   $pugs
  * @param array                  $steps
  */
 public function __construct(ContributionRepository $contributionRepository, Pugs $pugs, $steps)
 {
     $this->amount = $contributionRepository->getContributionsQuantity() + count($pugs->getUserGroups());
     $this->steps = $steps;
 }
예제 #2
0
 /**
  * Construct
  *
  * @param ContributionRepository $contributionRepository
  * @param array                  $steps
  */
 public function __construct(ContributionRepository $contributionRepository, $steps)
 {
     $this->amount = $contributionRepository->getContributionsQuantity();
     $this->steps = $steps;
 }