loadOneWhere( 'objectPHID = %s AND applicationClass = %s', $object_phid, $application_class); if ($dashboard_install) { $dashboard = id(new PhabricatorDashboardQuery()) ->setViewer($viewer) ->withPHIDs(array($dashboard_install->getDashboardPHID())) ->needPanels(true) ->executeOne(); } return $dashboard; } }