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 namespace Phug\Renderer\Event; use Phug\Event; use Phug\RendererEvent; class Rend..
Decoded Output download
<?php
namespace Phug\Renderer\Event;
use Phug\Event;
use Phug\RendererEvent;
class RenderEvent extends Event
{
private $input;
private $path;
private $method;
private $parameters;
/**
* CompileEvent constructor.
*
* @param string $input
* @param string|null $path
* @param string $method
* @param array $parameters
*/
public function __construct($input, $path, $method, $parameters)
{
parent::__construct(RendererEvent::RENDER);
$this->input = $input;
$this->path = $path;
$this->method = $method;
$this->parameters = $parameters;
}
/**
* @return string
*/
public function getMethod()
{
return $this->method;
}
/**
* @param string $method
*/
public function setMethod($method)
{
$this->method = $method;
}
/**
* @return string
*/
public function getInput()
{
return $this->input;
}
/**
* @param string $input
*/
public function setInput($input)
{
$this->input = $input;
}
/**
* @return array
*/
public function getParameters()
{
return $this->parameters;
}
/**
* @param array $parameters
*/
public function setParameters($parameters)
{
$this->parameters = $parameters;
}
/**
* @return null|string
*/
public function getPath()
{
return $this->path;
}
/**
* @param null|string $path
*/
public function setPath($path)
{
$this->path = $path;
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Phug\Renderer\Event;
use Phug\Event;
use Phug\RendererEvent;
class RenderEvent extends Event
{
private $input;
private $path;
private $method;
private $parameters;
/**
* CompileEvent constructor.
*
* @param string $input
* @param string|null $path
* @param string $method
* @param array $parameters
*/
public function __construct($input, $path, $method, $parameters)
{
parent::__construct(RendererEvent::RENDER);
$this->input = $input;
$this->path = $path;
$this->method = $method;
$this->parameters = $parameters;
}
/**
* @return string
*/
public function getMethod()
{
return $this->method;
}
/**
* @param string $method
*/
public function setMethod($method)
{
$this->method = $method;
}
/**
* @return string
*/
public function getInput()
{
return $this->input;
}
/**
* @param string $input
*/
public function setInput($input)
{
$this->input = $input;
}
/**
* @return array
*/
public function getParameters()
{
return $this->parameters;
}
/**
* @param array $parameters
*/
public function setParameters($parameters)
{
$this->parameters = $parameters;
}
/**
* @return null|string
*/
public function getPath()
{
return $this->path;
}
/**
* @param null|string $path
*/
public function setPath($path)
{
$this->path = $path;
}
}
Function Calls
None |
Stats
MD5 | 83e9a90f3e72e30ddf39c77fc8a5df81 |
Eval Count | 0 |
Decode Time | 84 ms |