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\Kernel\Event; use Pagekit\Event\Event; use Pagekit\Kernel\HttpKe..
Decoded Output download
<?php
namespace Pagekit\Kernel\Event;
use Pagekit\Event\Event;
use Pagekit\Kernel\HttpKernelInterface;
class KernelEvent extends Event
{
/**
* @var HttpKernelInterface
*/
protected $kernel;
/**
* Constructor.
*
* @param string $name
* @param HttpKernelInterface $kernel
*/
public function __construct($name, HttpKernelInterface $kernel)
{
parent::__construct($name);
$this->kernel = $kernel;
}
/**
* Gets the kernel.
*
* @return HttpKernelInterface
*/
public function getKernel()
{
return $this->kernel;
}
/**
* Checks if this is a master request.
*
* @return bool
*/
public function isMasterRequest()
{
return $this->kernel->isMasterRequest();
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Pagekit\Kernel\Event;
use Pagekit\Event\Event;
use Pagekit\Kernel\HttpKernelInterface;
class KernelEvent extends Event
{
/**
* @var HttpKernelInterface
*/
protected $kernel;
/**
* Constructor.
*
* @param string $name
* @param HttpKernelInterface $kernel
*/
public function __construct($name, HttpKernelInterface $kernel)
{
parent::__construct($name);
$this->kernel = $kernel;
}
/**
* Gets the kernel.
*
* @return HttpKernelInterface
*/
public function getKernel()
{
return $this->kernel;
}
/**
* Checks if this is a master request.
*
* @return bool
*/
public function isMasterRequest()
{
return $this->kernel->isMasterRequest();
}
}
Function Calls
None |
Stats
MD5 | faac1ed6005e9faf81f824e048c53fa7 |
Eval Count | 0 |
Decode Time | 82 ms |