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 abstract class CelerityPostprocessor extends Phobject { private $default; a..
Decoded Output download
<?php
abstract class CelerityPostprocessor
extends Phobject {
private $default;
abstract public function getPostprocessorKey();
abstract public function getPostprocessorName();
abstract public function buildVariables();
public function buildDefaultPostprocessor() {
return new CelerityDefaultPostprocessor();
}
final public function getVariables() {
$variables = $this->buildVariables();
$default = $this->getDefault();
if ($default) {
$variables += $default->getVariables();
}
return $variables;
}
final public function getDefault() {
if ($this->default === null) {
$this->default = $this->buildDefaultPostprocessor();
}
return $this->default;
}
final public static function getPostprocessor($key) {
return idx(self::getAllPostprocessors(), $key);
}
final public static function getAllPostprocessors() {
return id(new PhutilClassMapQuery())
->setAncestorClass(__CLASS__)
->setUniqueMethod('getPostprocessorKey')
->execute();
}
}
?>
Did this file decode correctly?
Original Code
<?php
abstract class CelerityPostprocessor
extends Phobject {
private $default;
abstract public function getPostprocessorKey();
abstract public function getPostprocessorName();
abstract public function buildVariables();
public function buildDefaultPostprocessor() {
return new CelerityDefaultPostprocessor();
}
final public function getVariables() {
$variables = $this->buildVariables();
$default = $this->getDefault();
if ($default) {
$variables += $default->getVariables();
}
return $variables;
}
final public function getDefault() {
if ($this->default === null) {
$this->default = $this->buildDefaultPostprocessor();
}
return $this->default;
}
final public static function getPostprocessor($key) {
return idx(self::getAllPostprocessors(), $key);
}
final public static function getAllPostprocessors() {
return id(new PhutilClassMapQuery())
->setAncestorClass(__CLASS__)
->setUniqueMethod('getPostprocessorKey')
->execute();
}
}
Function Calls
None |
Stats
MD5 | d0b37855ae1e84f2afe27f12ff753600 |
Eval Count | 0 |
Decode Time | 99 ms |