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

namespace Kufer\KuferTools\Veranstalter\LeiterMitarbeiterAndererVeranstalter\Detailsreiter\DozentenDetails;

class DozentenDetailsPresenter extends \Kufer\KuferTools\Basis\Presenter\Presenter
{
  protected function getView()
  {
    return new DozentenDetailsView($this->getViewModel());
  }
  
  protected function getViewModel()
  {
    $viewModel = new DozentenDetailsViewModel();
    $viewModel->columns = $this->useCaseResponse->columns;
    $viewModel->dozent = $this->useCaseResponse->dozent;
    return $viewModel;
  }
}