Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 5326190fc690eb59f6575c01243b0085 > files > 151

php-apc-3.1.15-4.14.mga4.x86_64.rpm

<?php

namespace Symfony\Component\HttpKernel\Event;

use Symfony\Component\HttpFoundation\Response;

class GetResponseEvent extends KernelEvent
{
    private $response;

    public function getResponse()
    {
        return $this->response;
    }

    public function setResponse(Response $response)
    {
        $this->response = $response;

        $this->stopPropagation();
    }

    public function hasResponse()
    {
        return null !== $this->response;
    }
}