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\Kernel\HttpKernelInterface; class Exc..

Decoded Output download

<?php

namespace Pagekit\Kernel\Event;

use Pagekit\Kernel\HttpKernelInterface;

class ExceptionEvent extends KernelEvent
{
    use ResponseTrait;

    /**
     * @var \Exception
     */
    protected $exception;

    /**
     * Construct.
     *
     * @param string              $name
     * @param HttpKernelInterface $kernel
     * @param \Exception $e
     */
    public function __construct($name, HttpKernelInterface $kernel, \Exception $e)
    {
        parent::__construct($name, $kernel);

        $this->setException($e);
    }

    /**
     * Gets the thrown exception.
     *
     * @return \Exception
     */
    public function getException()
    {
        return $this->exception;
    }

    /**
     * Sets the thrown exception.
     *
     * @param \Exception $exception
     */
    public function setException(\Exception $exception)
    {
        $this->exception = $exception;
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Pagekit\Kernel\Event;

use Pagekit\Kernel\HttpKernelInterface;

class ExceptionEvent extends KernelEvent
{
    use ResponseTrait;

    /**
     * @var \Exception
     */
    protected $exception;

    /**
     * Construct.
     *
     * @param string              $name
     * @param HttpKernelInterface $kernel
     * @param \Exception $e
     */
    public function __construct($name, HttpKernelInterface $kernel, \Exception $e)
    {
        parent::__construct($name, $kernel);

        $this->setException($e);
    }

    /**
     * Gets the thrown exception.
     *
     * @return \Exception
     */
    public function getException()
    {
        return $this->exception;
    }

    /**
     * Sets the thrown exception.
     *
     * @param \Exception $exception
     */
    public function setException(\Exception $exception)
    {
        $this->exception = $exception;
    }
}

Function Calls

None

Variables

None

Stats

MD5 4a721473d5aaa4e999b009d1e4f5a99c
Eval Count 0
Decode Time 84 ms