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\Twig; class TwigCache extends \Twig_Cache_Filesystem { prote..
Decoded Output download
<?php
namespace Pagekit\Twig;
class TwigCache extends \Twig_Cache_Filesystem
{
protected $dir;
/**
* {@inheritdoc}
*/
public function __construct($directory, $options = 0)
{
$this->dir = $directory;
parent::__construct($directory, $options);
}
/**
* {@inheritdoc}
*/
public function generateKey($name, $className)
{
return $this->dir.'/'.sha1($className).'.twig.cache';
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Pagekit\Twig;
class TwigCache extends \Twig_Cache_Filesystem
{
protected $dir;
/**
* {@inheritdoc}
*/
public function __construct($directory, $options = 0)
{
$this->dir = $directory;
parent::__construct($directory, $options);
}
/**
* {@inheritdoc}
*/
public function generateKey($name, $className)
{
return $this->dir.'/'.sha1($className).'.twig.cache';
}
}
Function Calls
None |
Stats
MD5 | f5ddf3ed4014c37495bac7186ffd295d |
Eval Count | 0 |
Decode Time | 95 ms |