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() {
22 protected function newImportCursors() {
24 id(new NuanceGitHubRepositoryImportCursor())
25 ->setCursorKey('events.repository'),
26 id(new NuanceGitHubIssuesImportCursor())
27 ->setCursorKey('events.issues'),