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 Pagekit\Installer\Package; use Pagekit\Util\Arr; class Package implemen..
Decoded Output download
<?php
namespace Pagekit\Installer\Package;
use Pagekit\Util\Arr;
class Package implements PackageInterface
{
/**
* @var array
*/
protected $data;
/**
* Constructor.
*
* @param array $data
*/
public function __construct(array $data)
{
$this->data = $data;
}
/**
* {@inheritdoc}
*/
public function get($key, $default = null)
{
return Arr::get($this->data, $key, $default);
}
/**
* {@inheritdoc}
*/
public function set($key, $value)
{
Arr::set($this->data, $key, $value);
}
/**
* {@inheritdoc}
*/
public function getName()
{
return $this->get('name');
}
/**
* {@inheritdoc}
*/
public function getType()
{
return $this->get('type');
}
/**
* {@inheritdoc}
*/
public function jsonSerialize()
{
return $this->data;
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Pagekit\Installer\Package;
use Pagekit\Util\Arr;
class Package implements PackageInterface
{
/**
* @var array
*/
protected $data;
/**
* Constructor.
*
* @param array $data
*/
public function __construct(array $data)
{
$this->data = $data;
}
/**
* {@inheritdoc}
*/
public function get($key, $default = null)
{
return Arr::get($this->data, $key, $default);
}
/**
* {@inheritdoc}
*/
public function set($key, $value)
{
Arr::set($this->data, $key, $value);
}
/**
* {@inheritdoc}
*/
public function getName()
{
return $this->get('name');
}
/**
* {@inheritdoc}
*/
public function getType()
{
return $this->get('type');
}
/**
* {@inheritdoc}
*/
public function jsonSerialize()
{
return $this->data;
}
}
Function Calls
None |
Stats
MD5 | 9cd1c9aef3e9afebd5b996314e4e5a3f |
Eval Count | 0 |
Decode Time | 76 ms |