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

namespace Kufer\Web\KuferTools\Basis\Kursdetails\Detailsreiter\Termine\TerminVerlaengernDialog;

abstract class TerminVerlaengernAbsendenEMailUseCase extends \Kufer\Web\KuferTools\Basis\Kursdetails\Detailsreiter\Termine\TerminDialog\TerminAbsendenEMailUseCase
{
  
  public function __construct($request)
  {
    parent::__construct($request, new TerminVerlaengernAbsendenEMailResponse());
  }

  protected function shouldSendMail2Firmenservice(): bool
  {
    return false;
  }

  public function getResponseForEMail()
  {
    parent::getResponseForEMail();
    $this->response->kurs = $this->request->kurs;
    $this->response->kurstage = $this->request->kurstage;

    return $this->response;
  }

  protected function getDozenten(): array
  {
    return array();
  }
}