Changeset View
Changeset View
Standalone View
Standalone View
src/browse/loader/ArcanistBrowseURIHardpointLoader.php
| Show All 13 Lines | abstract class ArcanistBrowseURIHardpointLoader | ||||
| public function canLoadRef(ArcanistRef $ref) { | public function canLoadRef(ArcanistRef $ref) { | ||||
| return ($ref instanceof ArcanistBrowseRef); | return ($ref instanceof ArcanistBrowseRef); | ||||
| } | } | ||||
| public function canLoadHardpoint(ArcanistRef $ref, $hardpoint) { | public function canLoadHardpoint(ArcanistRef $ref, $hardpoint) { | ||||
| return ($hardpoint == 'uris'); | return ($hardpoint == 'uris'); | ||||
| } | } | ||||
| public function willLoadBrowseURIRefs(array $refs) { | |||||
| return; | |||||
| } | |||||
| public function didFailToLoadBrowseURIRefs(array $refs) { | public function didFailToLoadBrowseURIRefs(array $refs) { | ||||
| return; | return; | ||||
| } | } | ||||
| public function getRefsWithSupportedTypes(array $refs) { | public function getRefsWithSupportedTypes(array $refs) { | ||||
| $type = $this->getSupportedBrowseType(); | $type = $this->getSupportedBrowseType(); | ||||
| foreach ($refs as $key => $ref) { | foreach ($refs as $key => $ref) { | ||||
| Show All 22 Lines | |||||