<?php
/**
 * @copyright (c) Kufer Software GmbH, Loisachstrasse 4, D-84453 Mühldorf
 */

namespace Kufer\KuferTools\Mitarbeiter\KursUebersicht\Detailsreiter\Dozenten\SammelEMail;

class SammelEMailPresenter extends \Kufer\KuferTools\Ausgaben\SammelEMail\AnDozenten\SammelEMailPresenter
{
  protected function getView()
  {
    return new SammelEMailView($this->getViewModel());
  }

  protected function getViewModel()
  {
    $result = parent::getViewModel();
    $result->emailAnDozentSenderMultiple = $this->useCaseResponse->emailAnDozentSenderMultiple;
    $result->ma = $this->useCaseResponse->ma;

    return $result;
  }
}