<?php
/**
 * @copyright (c) Kufer Software GmbH, Oderstraße 7, D-84453 Mühldorf
 */

namespace Kufer\Web\KuferTools\Dozent\KursUebersicht\PdfListen\TnListen\PrintTnListen;

class DozPrintTnListenController extends \Kufer\Web\KuferTools\Basis\PdfListen\TnListen\PrintTnListen\PrintTnListenController
{
  protected function getUseCase(): \Kufer\Web\KuferTools\Basis\UseCase\UseCase
  {
    return new DozPrintTnListenUseCase(
      $this->getRequestObj()
    );
  }

  protected function getId()
  {
    return \GetOperations::getVarValue('nr');
  }

  protected function getRequestObj()
  {
    return parent::getRequestObj();
  }
}