$78 GRAYBYTE WORDPRESS FILE MANAGER $51

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/php54/usr/share/pear/Symfony/Component/HttpKernel/Event/

HOME
Current File : /opt/alt/php54/usr/share/pear/Symfony/Component/HttpKernel/Event//GetResponseEvent.php
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\HttpKernel\Event;

use Symfony\Component\HttpFoundation\Response;

/**
 * Allows to create a response for a request
 *
 * Call setResponse() to set the response that will be returned for the
 * current request. The propagation of this event is stopped as soon as a
 * response is set.
 *
 * @author Bernhard Schussek <[email protected]>
 *
 * @api
 */
class GetResponseEvent extends KernelEvent
{
    /**
     * The response object
     * @var Response
     */
    private $response;

    /**
     * Returns the response object
     *
     * @return Response
     *
     * @api
     */
    public function getResponse()
    {
        return $this->response;
    }

    /**
     * Sets a response and stops event propagation
     *
     * @param Response $response
     *
     * @api
     */
    public function setResponse(Response $response)
    {
        $this->response = $response;

        $this->stopPropagation();
    }

    /**
     * Returns whether a response was set
     *
     * @return Boolean Whether a response was set
     *
     * @api
     */
    public function hasResponse()
    {
        return null !== $this->response;
    }
}


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.54 PM
root / root
0755
FilterControllerEvent.php
2.437 KB
18 Dec 2019 11.22 AM
root / root
0644
FilterResponseEvent.php
1.438 KB
18 Dec 2019 11.22 AM
root / root
0644
FinishRequestEvent.php
0.437 KB
18 Dec 2019 11.22 AM
root / root
0644
GetResponseEvent.php
1.386 KB
18 Dec 2019 11.22 AM
root / root
0644
GetResponseForControllerResultEvent.php
1.604 KB
18 Dec 2019 11.22 AM
root / root
0644
GetResponseForExceptionEvent.php
1.707 KB
18 Dec 2019 11.22 AM
root / root
0644
KernelEvent.php
2.215 KB
18 Dec 2019 11.22 AM
root / root
0644
PostResponseEvent.php
1.537 KB
18 Dec 2019 11.22 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF