Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/storage/PhabricatorRepository.php
| Show First 20 Lines • Show All 1,793 Lines • ▼ Show 20 Lines | public function getSymbolSources() { | ||||
| return $this->getDetail('symbol-sources', array()); | return $this->getDetail('symbol-sources', array()); | ||||
| } | } | ||||
| public function getSymbolLanguages() { | public function getSymbolLanguages() { | ||||
| return $this->getDetail('symbol-languages', array()); | return $this->getDetail('symbol-languages', array()); | ||||
| } | } | ||||
| /* -( Staging )-------------------------------------------------------------*/ | /* -( Staging )------------------------------------------------------------ */ | ||||
| public function supportsStaging() { | public function supportsStaging() { | ||||
| return $this->isGit(); | return $this->isGit(); | ||||
| } | } | ||||
| public function getStagingURI() { | public function getStagingURI() { | ||||
| if (!$this->supportsStaging()) { | if (!$this->supportsStaging()) { | ||||
| return null; | return null; | ||||
| } | } | ||||
| return $this->getDetail('staging-uri', null); | return $this->getDetail('staging-uri', null); | ||||
| } | } | ||||
| /* -( Automation )--------------------------------------------------------- */ | |||||
| public function supportsAutomation() { | |||||
| return $this->isGit(); | |||||
| } | |||||
| public function getAutomationBlueprintPHIDs() { | |||||
| if (!$this->supportsAutomation()) { | |||||
| return array(); | |||||
| } | |||||
| return $this->getDetail('automation.blueprintPHIDs', array()); | |||||
| } | |||||
| /* -( PhabricatorApplicationTransactionInterface )------------------------- */ | /* -( PhabricatorApplicationTransactionInterface )------------------------- */ | ||||
| public function getApplicationTransactionEditor() { | public function getApplicationTransactionEditor() { | ||||
| return new PhabricatorRepositoryEditor(); | return new PhabricatorRepositoryEditor(); | ||||
| } | } | ||||
| public function getApplicationTransactionObject() { | public function getApplicationTransactionObject() { | ||||
| ▲ Show 20 Lines • Show All 119 Lines • Show Last 20 Lines | |||||