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

namespace Kufer\KuferTools\Hausmeister\Raumbelegung\KursDetails\Detailsreiter\Info;

class HmInfoController extends \Kufer\KuferTools\Basis\Kursdetails\DetailsReiter\Info\InfoController
{
  protected function getUseCase(): \Kufer\KuferTools\Basis\UseCase\UseCase
  {
    return new HmInfoUseCase(
      $this->getRequestObj()
    );
  }

  protected function getRequestObj()
  {
    $requestObj = parent::getRequestObj();
    $requestObj->raumNr = \GetOperations::getVarValue('rnr');

    return $requestObj;
  }
}