3 final class PhabricatorPolicyException
extends Exception
{
7 private $capabilityName;
8 private $moreInfo = array();
13 public function setTitle($title) {
14 $this->title
= $title;
18 public function getTitle() {
22 public function setCapabilityName($capability_name) {
23 $this->capabilityName
= $capability_name;
27 public function getCapabilityName() {
28 return $this->capabilityName
;
31 public function setRejection($rejection) {
32 $this->rejection
= $rejection;
36 public function getRejection() {
37 return $this->rejection
;
40 public function setMoreInfo(array $more_info) {
41 $this->moreInfo
= $more_info;
45 public function getMoreInfo() {
46 return $this->moreInfo
;
49 public function setObjectPHID($object_phid) {
50 $this->objectPHID
= $object_phid;
54 public function getObjectPHID() {
55 return $this->objectPHID
;
58 public function setContext($context) {
59 $this->context
= $context;
63 public function getContext() {
64 return $this->context
;
67 public function setCapability($capability) {
68 $this->capability
= $capability;
72 public function getCapability() {
73 return $this->capability
;