src/Payum/Core/Bridge/PlainPhp/Action/GetHttpRequestAction.php
public function execute($request)
    {
        RequestNotSupportedException::assertSupports($this, $request);

        $request->method = isset($_SERVER['REQUEST_METHOD']) ? $_SERVER['REQUEST_METHOD'] : 'GET';
        $request->query = $_GET;
        $request->request = $_REQUEST;
        $request->clientIp = isset($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : '';
        $request->uri = isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : '';
        $request->userAgent = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : '';
        $request->content = file_get_contents('php://input');
    }
public function execute($request)
    {
        RequestNotSupportedException::assertSupports($this, $request);

        $request->method = isset($_SERVER['REQUEST_METHOD']) ? $_SERVER['REQUEST_METHOD'] : 'GET';
        $request->query = $_GET;
        $request->request = $_REQUEST;
        $request->clientIp = isset($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : '';
        $request->uri = isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : '';
        $request->userAgent = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : '';
        $request->content = file_get_contents('php://input');
    }
{@inheritDoc}

@param GetHttpRequest $request