public function __construct($fieldPath = null, $trigger = null, $errorString = null) { $this->fieldPath = $fieldPath; $this->trigger = $trigger; $this->errorString = $errorString; }
public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; }