$11 GRAYBYTE WORDPRESS FILE MANAGER $62

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | 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//FilterResponseEvent.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\HttpKernel\HttpKernelInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;

/**
 * Allows to filter a Response object
 *
 * You can call getResponse() to retrieve the current response. With
 * setResponse() you can set a new response that will be returned to the
 * browser.
 *
 * @author Bernhard Schussek <[email protected]>
 *
 * @api
 */
class FilterResponseEvent extends KernelEvent
{
    /**
     * The current response object
     * @var Response
     */
    private $response;

    public function __construct(HttpKernelInterface $kernel, Request $request, $requestType, Response $response)
    {
        parent::__construct($kernel, $request, $requestType);

        $this->setResponse($response);
    }

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

    /**
     * Sets a new response object
     *
     * @param Response $response
     *
     * @api
     */
    public function setResponse(Response $response)
    {
        $this->response = $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