@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 57 lines 1.1 kB view raw
1<?php 2 3final class PhabricatorDocumentEngineBlock 4 extends Phobject { 5 6 private $blockKey; 7 private $content; 8 private $differenceHash; 9 private $differenceType; 10 private $isVisible; 11 12 public function setContent($content) { 13 $this->content = $content; 14 return $this; 15 } 16 17 public function getContent() { 18 return $this->content; 19 } 20 21 public function setBlockKey($block_key) { 22 $this->blockKey = $block_key; 23 return $this; 24 } 25 26 public function getBlockKey() { 27 return $this->blockKey; 28 } 29 30 public function setDifferenceHash($difference_hash) { 31 $this->differenceHash = $difference_hash; 32 return $this; 33 } 34 35 public function getDifferenceHash() { 36 return $this->differenceHash; 37 } 38 39 public function setDifferenceType($difference_type) { 40 $this->differenceType = $difference_type; 41 return $this; 42 } 43 44 public function getDifferenceType() { 45 return $this->differenceType; 46 } 47 48 public function setIsVisible($is_visible) { 49 $this->isVisible = $is_visible; 50 return $this; 51 } 52 53 public function getIsVisible() { 54 return $this->isVisible; 55 } 56 57}