Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/storage/PhabricatorRepository.php
Show First 20 Lines • Show All 135 Lines • ▼ Show 20 Lines | return array( | ||||
'isHosted' => $this->isHosted(), | 'isHosted' => $this->isHosted(), | ||||
'isImporting' => $this->isImporting(), | 'isImporting' => $this->isImporting(), | ||||
'encoding' => $this->getDetail('encoding'), | 'encoding' => $this->getDetail('encoding'), | ||||
'staging' => array( | 'staging' => array( | ||||
'supported' => $this->supportsStaging(), | 'supported' => $this->supportsStaging(), | ||||
'prefix' => 'phabricator', | 'prefix' => 'phabricator', | ||||
'uri' => $this->getStagingURI(), | 'uri' => $this->getStagingURI(), | ||||
), | ), | ||||
'projects' => $this->getProjectPHIDs(), | |||||
dereckson: This won't work when the public toDictionary() method is called without needProjectsPHIDs(true)… | |||||
); | ); | ||||
} | } | ||||
public function getMonogram() { | public function getMonogram() { | ||||
return 'r'.$this->getCallsign(); | return 'r'.$this->getCallsign(); | ||||
} | } | ||||
public function getDetail($key, $default = null) { | public function getDetail($key, $default = null) { | ||||
▲ Show 20 Lines • Show All 1,769 Lines • Show Last 20 Lines |
This won't work when the public toDictionary() method is called without needProjectsPHIDs(true) before.