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

namespace Kufer\KuferTools\Dozent\Portrait\Dozentenportrait;

class DozentenPortraitController extends \Kufer\KuferTools\Basis\Controller\ToolController
{
  protected function getUseCase(): \Kufer\KuferTools\Basis\UseCase\UseCase
  {
    return new DozentenPortraitUseCase(
      $this->getRequestObj()
    );
  }

  protected function getRequestObj()
  {
    return new DozentenPortraitRequest();
  }

  protected function getPresenter($pUseCaseResponse)
  {
    return new DozentenPortraitPresenter($pUseCaseResponse);
  }
}