Differential D14068 Diff 34734 src/applications/repository/phid/PhabricatorRepositoryRepositoryPHIDType.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/phid/PhabricatorRepositoryRepositoryPHIDType.php
| Show All 11 Lines | final class PhabricatorRepositoryRepositoryPHIDType | ||||
| public function getTypeIcon() { | public function getTypeIcon() { | ||||
| return 'fa-database'; | return 'fa-database'; | ||||
| } | } | ||||
| public function newObject() { | public function newObject() { | ||||
| return new PhabricatorRepository(); | return new PhabricatorRepository(); | ||||
| } | } | ||||
| public function getPHIDTypeApplicationClass() { | |||||
| return 'PhabricatorDiffusionApplication'; | |||||
| } | |||||
| protected function buildQueryForObjects( | protected function buildQueryForObjects( | ||||
| PhabricatorObjectQuery $query, | PhabricatorObjectQuery $query, | ||||
| array $phids) { | array $phids) { | ||||
| return id(new PhabricatorRepositoryQuery()) | return id(new PhabricatorRepositoryQuery()) | ||||
| ->withPHIDs($phids); | ->withPHIDs($phids); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 52 Lines • Show Last 20 Lines | |||||