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 PhabricatorProjectRemoveHeraldAction extends PhabricatorProjectHerald..

Decoded Output download

<?php

final class PhabricatorProjectRemoveHeraldAction
  extends PhabricatorProjectHeraldAction {

  const ACTIONCONST = 'projects.remove';

  public function getHeraldActionName() {
    return pht('Remove projects');
  }

  public function applyEffect($object, HeraldEffect $effect) {
    return $this->applyProjects($effect->getTarget(), $is_add = false);
  }

  public function getHeraldActionStandardType() {
    return self::STANDARD_PHID_LIST;
  }

  protected function getDatasource() {
    return new PhabricatorProjectDatasource();
  }

  public function renderActionDescription($value) {
    return pht('Remove projects: %s.', $this->renderHandleList($value));
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorProjectRemoveHeraldAction
  extends PhabricatorProjectHeraldAction {

  const ACTIONCONST = 'projects.remove';

  public function getHeraldActionName() {
    return pht('Remove projects');
  }

  public function applyEffect($object, HeraldEffect $effect) {
    return $this->applyProjects($effect->getTarget(), $is_add = false);
  }

  public function getHeraldActionStandardType() {
    return self::STANDARD_PHID_LIST;
  }

  protected function getDatasource() {
    return new PhabricatorProjectDatasource();
  }

  public function renderActionDescription($value) {
    return pht('Remove projects: %s.', $this->renderHandleList($value));
  }

}

Function Calls

None

Variables

None

Stats

MD5 b334a7ff511f7c5b01a0dcc736274bfe
Eval Count 0
Decode Time 85 ms