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

namespace Kufer\Web\KuferTools\Dozent\Portrait\Dozentenportrait;

class DozentenPortraitNachAbsendenController extends DozentenPortraitController
{
  private $statusCodes;
  private $wrongFields;
  private $changedDozentenPortrait;

  public function __construct($pStatusCodes, $pWrongFields, $pChangedDozentenPortrait)
  {
    $this->statusCodes = $pStatusCodes;
    $this->wrongFields = $pWrongFields;
    $this->changedDozentenPortrait = $pChangedDozentenPortrait;
  }

  protected function getRequestObj()
  {
    $requestObj = new DozentenPortraitRequest();
    $requestObj->statusCodes = $this->statusCodes;
    $requestObj->wrongFields = $this->wrongFields;
    $requestObj->changedDozentenPortrait = $this->changedDozentenPortrait;

    return $requestObj;
  }
}