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

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

class FotosPresenter extends \Kufer\Web\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;
  }
}