Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 3447e39793d15911bf3fc0a8996e2c90 > files > 151

php-apc-3.1.15-4.10.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;
    }
}