@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 recaptime-dev/main 37 lines 717 B view raw
1<?php 2 3final class PhabricatorPolicyCodexRuleDescription 4 extends Phobject { 5 6 private $description; 7 private $capabilities = array(); 8 private $isActive = true; 9 10 public function setDescription($description) { 11 $this->description = $description; 12 return $this; 13 } 14 15 public function getDescription() { 16 return $this->description; 17 } 18 19 public function setCapabilities(array $capabilities) { 20 $this->capabilities = $capabilities; 21 return $this; 22 } 23 24 public function getCapabilities() { 25 return $this->capabilities; 26 } 27 28 public function setIsActive($is_active) { 29 $this->isActive = $is_active; 30 return $this; 31 } 32 33 public function getIsActive() { 34 return $this->isActive; 35 } 36 37}