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

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

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

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

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