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

namespace Kufer\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;
  }
}