Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / nuance / source / NuanceGitHubRepositorySourceDefinition.php
blob8768e358640564b8a28cd4627707526d1480f9fb
1 <?php
3 final class NuanceGitHubRepositorySourceDefinition
4 extends NuanceSourceDefinition {
6 public function getName() {
7 return pht('GitHub Repository');
10 public function getSourceDescription() {
11 return pht('Import issues and pull requests from a GitHub repository.');
14 public function getSourceTypeConstant() {
15 return 'github.repository';
18 public function hasImportCursors() {
19 return true;
22 protected function newImportCursors() {
23 return array(
24 id(new NuanceGitHubRepositoryImportCursor())
25 ->setCursorKey('events.repository'),
26 id(new NuanceGitHubIssuesImportCursor())
27 ->setCursorKey('events.issues'),