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

namespace Kufer\KuferTools\Mitarbeiter\Anmeldung\FirmaDialog;

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

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

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