public function __construct(CounterManager $counter, ListModel $listModel, ListUserModel $listUser, ActionCampaignModel $actionCampaign, ActionCampaignManager $actionCampaignManager, EmailModel $email, EmailLogModel $emailLog, EmailLayoutModel $emailLayout, EmailDraftModel $emailDraft, EmailManager $emailManager) { $this->counter = $counter; $this->listModel = $listModel; $this->listUser = $listUser; $this->actionCampaign = $actionCampaign; $this->email = $email; $this->emailLayout = $emailLayout; $this->actionCampaignManager = $actionCampaignManager; $this->emailDraft = $emailDraft; $this->emailLog = $emailLog; $this->emailManager = $emailManager; View::share('draft_count', EmailManager::getDraftCount()); }
public function __construct(ActionCampaignManager $actionCampaign, ListManager $list) { $this->actionCampaign = $actionCampaign; $this->list = $list; View::share('draft_count', EmailManager::getDraftCount()); }
public function __construct(NotificationsManager $notification) { $this->notification = $notification; View::share('draft_count', EmailManager::getDraftCount()); }