Heray-Was-Here
Server : Apache
System : Linux mail.lomejor.cr 6.8.0-1059-azure #65~22.04.1-Ubuntu SMP Thu May 28 16:59:19 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.2.31
Disable Function : NONE
Directory :  /var/www/condoapp.info/wp-content/plugins/cloudflare/src/API/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/condoapp.info/wp-content/plugins/cloudflare/src/API/Request.php
<?php

namespace Cloudflare\APO\API;

class Request
{
    private $method;
    private $url;
    private $parameters;
    private $body;
    private $headers;

    /**
     * @param $method
     * @param $url
     * @param $parameters
     * @param $body
     */
    public function __construct($method, $url, $parameters, $body)
    {
        $this->method = strtoupper($method);
        $this->url = $url;
        $this->parameters = $parameters;
        $this->body = $body;
    }

    /**
     * @return mixed
     */
    public function getMethod()
    {
        return $this->method;
    }

    /**
     * @param mixed $method
     */
    public function setMethod($method)
    {
        $this->method = strtoupper($method);
    }

    /**
     * @return mixed
     */
    public function getUrl()
    {
        return $this->url;
    }

    /**
     * @param mixed $url
     */
    public function setUrl($url)
    {
        $this->url = $url;
    }

    /**
     * @return mixed
     */
    public function getParameters()
    {
        return $this->parameters;
    }

    /**
     * @param mixed $parameters
     */
    public function setParameters($parameters)
    {
        $this->parameters = $parameters;
    }

    /**
     * @return mixed
     */
    public function getBody()
    {
        return $this->body;
    }

    /**
     * @param mixed $body
     */
    public function setBody($body)
    {
        $this->body = $body;
    }

    /**
     * @return mixed
     */
    public function getHeaders()
    {
        return $this->headers;
    }

    /**
     * @param mixed $headers
     */
    public function setHeaders($headers)
    {
        $this->headers = $headers;
    }
}

Hry