Changeset View
Changeset View
Standalone View
Standalone View
src/applications/releeph/query/ReleephRequestSearchEngine.php
| <?php | <?php | ||||
| final class ReleephRequestSearchEngine | final class ReleephRequestSearchEngine | ||||
| extends PhabricatorApplicationSearchEngine { | extends PhabricatorApplicationSearchEngine { | ||||
| private $branch; | private $branch; | ||||
| private $baseURI; | private $baseURI; | ||||
| public function getResultTypeDescription() { | public function getResultTypeDescription() { | ||||
| return pht('Releeph Pull Requests'); | return pht('Releeph Pull Requests'); | ||||
| } | } | ||||
| public function getApplicationClassName() { | public function getApplicationClassName() { | ||||
| return 'PhabricatorReleephApplication'; | return 'PhabricatorReleephApplication'; | ||||
| } | } | ||||
| public function canUseInPanelContext() { | |||||
| return false; | |||||
| } | |||||
| public function setBranch(ReleephBranch $branch) { | public function setBranch(ReleephBranch $branch) { | ||||
| $this->branch = $branch; | $this->branch = $branch; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function getBranch() { | public function getBranch() { | ||||
| return $this->branch; | return $this->branch; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 197 Lines • Show Last 20 Lines | |||||