Differential D15392 Diff 37115 src/applications/harbormaster/query/HarbormasterBuildPlanSearchEngine.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/harbormaster/query/HarbormasterBuildPlanSearchEngine.php
Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Lines | final class HarbormasterBuildPlanSearchEngine | ||||
protected function renderResultList( | protected function renderResultList( | ||||
array $plans, | array $plans, | ||||
PhabricatorSavedQuery $query, | PhabricatorSavedQuery $query, | ||||
array $handles) { | array $handles) { | ||||
assert_instances_of($plans, 'HarbormasterBuildPlan'); | assert_instances_of($plans, 'HarbormasterBuildPlan'); | ||||
$viewer = $this->requireViewer(); | $viewer = $this->requireViewer(); | ||||
if ($plans) { | if ($plans) { | ||||
$edge_query = id(new PhabricatorEdgeQuery()) | $edge_query = id(new PhabricatorEdgeQuery()) | ||||
->withSourcePHIDs(mpull($plans, 'getPHID')) | ->withSourcePHIDs(mpull($plans, 'getPHID')) | ||||
->withEdgeTypes( | ->withEdgeTypes( | ||||
array( | array( | ||||
PhabricatorProjectObjectHasProjectEdgeType::EDGECONST, | PhabricatorProjectObjectHasProjectEdgeType::EDGECONST, | ||||
)); | )); | ||||
▲ Show 20 Lines • Show All 44 Lines • Show Last 20 Lines |