/** * 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; }
/** * Construct * * @param ContributionRepository $contributionRepository * @param array $steps */ public function __construct(ContributionRepository $contributionRepository, $steps) { $this->amount = $contributionRepository->getContributionsQuantity(); $this->steps = $steps; }