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\Filesystem\Adapter; class StreamAdapter extends FileAdapter { ..
Decoded Output download
<?php
namespace Pagekit\Filesystem\Adapter;
class StreamAdapter extends FileAdapter
{
/**
* @var string
*/
protected $wrapper;
/**
* Constructor.
*
* @param string $path;
* @param string $url;
* @param string $wrapper;
*/
public function __construct($path, $url = '', $wrapper = 'Pagekit\Filesystem\StreamWrapper')
{
parent::__construct($path, $url);
$this->wrapper = $wrapper;
}
/**
* {@inheritdoc}
*/
public function getStreamWrapper()
{
return $this->wrapper;
}
/**
* {@inheritdoc}
*/
public function getPathInfo(array $info)
{
$info['root'] = '';
return parent::getPathInfo($info);
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Pagekit\Filesystem\Adapter;
class StreamAdapter extends FileAdapter
{
/**
* @var string
*/
protected $wrapper;
/**
* Constructor.
*
* @param string $path;
* @param string $url;
* @param string $wrapper;
*/
public function __construct($path, $url = '', $wrapper = 'Pagekit\Filesystem\StreamWrapper')
{
parent::__construct($path, $url);
$this->wrapper = $wrapper;
}
/**
* {@inheritdoc}
*/
public function getStreamWrapper()
{
return $this->wrapper;
}
/**
* {@inheritdoc}
*/
public function getPathInfo(array $info)
{
$info['root'] = '';
return parent::getPathInfo($info);
}
}
Function Calls
None |
Stats
MD5 | d7c5460144773e4a989a3f2b37109266 |
Eval Count | 0 |
Decode Time | 87 ms |