@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
at upstream/main 49 lines 994 B view raw
1<?php 2 3final class PhabricatorApplicationTransactionValidationError 4 extends Phobject { 5 6 private $type; 7 private $transaction; 8 private $shortMessage; 9 private $message; 10 private $isMissingFieldError; 11 12 public function __construct( 13 $type, 14 $short_message, 15 $message, 16 ?PhabricatorApplicationTransaction $xaction = null) { 17 18 $this->type = $type; 19 $this->shortMessage = $short_message; 20 $this->message = $message; 21 $this->transaction = $xaction; 22 } 23 24 public function getType() { 25 return $this->type; 26 } 27 28 public function getTransaction() { 29 return $this->transaction; 30 } 31 32 public function getShortMessage() { 33 return $this->shortMessage; 34 } 35 36 public function getMessage() { 37 return $this->message; 38 } 39 40 public function setIsMissingFieldError($is_missing_field_error) { 41 $this->isMissingFieldError = $is_missing_field_error; 42 return $this; 43 } 44 45 public function getIsMissingFieldError() { 46 return $this->isMissingFieldError; 47 } 48 49}