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

namespace Kufer\KuferTools\Mitarbeiter\Anmeldung\DetailsDialog;

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

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

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