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

namespace Kufer\KuferTools\Mitarbeiter\AdressInfo\AdressUebersicht\AdressDetails\Detailsreiter\Fotos;

class FotosPresenter extends \Kufer\KuferTools\Basis\Presenter\Presenter
{
  protected function getView()
  {
    return new FotosView($this->getViewModel());
  }

  protected function getViewModel()
  {
    $viewModel = new FotosViewModel();
    $viewModel->adress = $this->useCaseResponse->adress;
    $viewModel->fotos = $this->useCaseResponse->fotos;

    return $viewModel;
  }
}