Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php final class NuanceGitHubRepositorySourceDefinition extends NuanceSourceDefinition..

Decoded Output download

<?php

final class NuanceGitHubRepositorySourceDefinition
  extends NuanceSourceDefinition {

  public function getName() {
    return pht('GitHub Repository');
  }

  public function getSourceDescription() {
    return pht('Import issues and pull requests from a GitHub repository.');
  }

  public function getSourceTypeConstant() {
    return 'github.repository';
  }

  public function hasImportCursors() {
    return true;
  }

  protected function newImportCursors() {
    return array(
      id(new NuanceGitHubRepositoryImportCursor())
        ->setCursorKey('events.repository'),
      id(new NuanceGitHubIssuesImportCursor())
        ->setCursorKey('events.issues'),
    );
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class NuanceGitHubRepositorySourceDefinition
  extends NuanceSourceDefinition {

  public function getName() {
    return pht('GitHub Repository');
  }

  public function getSourceDescription() {
    return pht('Import issues and pull requests from a GitHub repository.');
  }

  public function getSourceTypeConstant() {
    return 'github.repository';
  }

  public function hasImportCursors() {
    return true;
  }

  protected function newImportCursors() {
    return array(
      id(new NuanceGitHubRepositoryImportCursor())
        ->setCursorKey('events.repository'),
      id(new NuanceGitHubIssuesImportCursor())
        ->setCursorKey('events.issues'),
    );
  }

}

Function Calls

None

Variables

None

Stats

MD5 e8d53276f5b1198604a3f5176cc071c8
Eval Count 0
Decode Time 82 ms