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 Symfony\Component\HttpFoundation\Response; tr..

Decoded Output download

<?php

namespace Pagekit\Kernel\Event;

use Symfony\Component\HttpFoundation\Response;

trait ResponseTrait
{
    /**
     * @var Response
     */
    protected $response;

    /**
     * Checks if a response was set.
     *
     * @return bool
     */
    public function hasResponse()
    {
        return $this->response !== null;
    }

    /**
     * Gets the response.
     *
     * @return Response
     */
    public function getResponse()
    {
        return $this->response;
    }

    /**
     * Sets the response.
     *
     * @param Response $response
     */
    public function setResponse(Response $response)
    {
        $this->response = $response;
        $this->stopPropagation();
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Pagekit\Kernel\Event;

use Symfony\Component\HttpFoundation\Response;

trait ResponseTrait
{
    /**
     * @var Response
     */
    protected $response;

    /**
     * Checks if a response was set.
     *
     * @return bool
     */
    public function hasResponse()
    {
        return $this->response !== null;
    }

    /**
     * Gets the response.
     *
     * @return Response
     */
    public function getResponse()
    {
        return $this->response;
    }

    /**
     * Sets the response.
     *
     * @param Response $response
     */
    public function setResponse(Response $response)
    {
        $this->response = $response;
        $this->stopPropagation();
    }
}

Function Calls

None

Variables

None

Stats

MD5 2f725bb966d80fd9ce702f8defc1b231
Eval Count 0
Decode Time 92 ms