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 DifferentialRevisionHasCommitRelationship extends DifferentialRevisio..

Decoded Output download

<?php

final class DifferentialRevisionHasCommitRelationship
  extends DifferentialRevisionRelationship {

  const RELATIONSHIPKEY = 'revision.has-commit';

  public function getEdgeConstant() {
    return DifferentialRevisionHasCommitEdgeType::EDGECONST;
  }

  protected function getActionName() {
    return pht('Edit Commits');
  }

  protected function getActionIcon() {
    return 'fa-code';
  }

  public function canRelateObjects($src, $dst) {
    return ($dst instanceof PhabricatorRepositoryCommit);
  }

  public function getDialogTitleText() {
    return pht('Edit Related Commits');
  }

  public function getDialogHeaderText() {
    return pht('Current Commits');
  }

  public function getDialogButtonText() {
    return pht('Save Related Commits');
  }

  protected function newRelationshipSource() {
    return new DiffusionCommitRelationshipSource();
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class DifferentialRevisionHasCommitRelationship
  extends DifferentialRevisionRelationship {

  const RELATIONSHIPKEY = 'revision.has-commit';

  public function getEdgeConstant() {
    return DifferentialRevisionHasCommitEdgeType::EDGECONST;
  }

  protected function getActionName() {
    return pht('Edit Commits');
  }

  protected function getActionIcon() {
    return 'fa-code';
  }

  public function canRelateObjects($src, $dst) {
    return ($dst instanceof PhabricatorRepositoryCommit);
  }

  public function getDialogTitleText() {
    return pht('Edit Related Commits');
  }

  public function getDialogHeaderText() {
    return pht('Current Commits');
  }

  public function getDialogButtonText() {
    return pht('Save Related Commits');
  }

  protected function newRelationshipSource() {
    return new DiffusionCommitRelationshipSource();
  }

}

Function Calls

None

Variables

None

Stats

MD5 e1a26708c9e13859cc9a7a2f1f404837
Eval Count 0
Decode Time 101 ms