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

namespace Kufer\KuferTools\Firma\KursUebersicht\KursUebersicht\Detailsreiter\Storno;

use Kufer\KuferTools\Basis\View\ViewSight;

class HandleStornoEMailPerMailPresenter extends \Kufer\KuferTools\Basis\Presenter\HTMLEMailPresenter
{
  protected function createView($viewModel): ViewSight
  {
    return new HandleStornoEMailPerMailView($viewModel);
  }

  public function getContent(): string
  {
    $view = $this->getView();

    return trim($view->getBody() . $view->getFooter() . $view->getNoData() . $view->getNoColumn());
  }
}