PHP Tool Kit / Request
Manipula requisições HTTP.
Loading...
Searching...
No Matches
Request Class Reference

Public Member Functions

 __construct ()

Data Fields

readonly Get $get
readonly Post $post
readonly Cookie $cookie
readonly string $phpSelf
readonly string $gatewayInterface
readonly string $serverAddr
readonly string $serverName
readonly string $serverSoftware
readonly string $serverProtocol
readonly string $requestMethod
readonly DateTimeImmutable $requestTime
readonly float $requestTimeFloat
readonly array $queryString
readonly string $documentRoot
readonly bool $https
readonly string $remoteAddr
readonly string $remoteHost
readonly string $remotePort
readonly string $remoteUser
readonly string $redirectRemoteUser
readonly string $scriptFilename
readonly string $serverAdmin
readonly string $serverPort
readonly string $serverSignature
readonly string $pathTranslated
readonly string $scriptName
readonly string $requestUri
readonly string $phpAuthDigest
readonly string $phpAuthUser
readonly string $phpAuthPw
readonly string $authType
readonly string $pathInfo
readonly string $originPathInfo

Detailed Description

Definition at line 18 of file Request.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Constrói uma nova instância de {

See also
Request} populando todas as propriedades a partir das superglobais $_GET, $_POST, $_COOKIE e $_SERVER.
Returns
void

Definition at line 265 of file Request.php.

Field Documentation

◆ $authType

readonly string $authType

Definition at line 242 of file Request.php.

◆ $cookie

readonly Cookie $cookie

Definition at line 39 of file Request.php.

◆ $documentRoot

readonly string $documentRoot

Definition at line 118 of file Request.php.

◆ $gatewayInterface

readonly string $gatewayInterface

Definition at line 53 of file Request.php.

◆ $get

readonly Get $get

Definition at line 25 of file Request.php.

◆ $https

readonly bool $https

Definition at line 125 of file Request.php.

◆ $originPathInfo

readonly string $originPathInfo

Definition at line 256 of file Request.php.

◆ $pathInfo

readonly string $pathInfo

Definition at line 249 of file Request.php.

◆ $pathTranslated

readonly string $pathTranslated

Definition at line 200 of file Request.php.

◆ $phpAuthDigest

readonly string $phpAuthDigest

Definition at line 221 of file Request.php.

◆ $phpAuthPw

readonly string $phpAuthPw

Definition at line 235 of file Request.php.

◆ $phpAuthUser

readonly string $phpAuthUser

Definition at line 228 of file Request.php.

◆ $phpSelf

readonly string $phpSelf

Definition at line 46 of file Request.php.

◆ $post

readonly Post $post

Definition at line 32 of file Request.php.

◆ $queryString

readonly array $queryString

Definition at line 111 of file Request.php.

◆ $redirectRemoteUser

readonly string $redirectRemoteUser

Definition at line 161 of file Request.php.

◆ $remoteAddr

readonly string $remoteAddr

Definition at line 132 of file Request.php.

◆ $remoteHost

readonly string $remoteHost

Definition at line 139 of file Request.php.

◆ $remotePort

readonly string $remotePort

Definition at line 146 of file Request.php.

◆ $remoteUser

readonly string $remoteUser

Definition at line 153 of file Request.php.

◆ $requestMethod

readonly string $requestMethod

Definition at line 88 of file Request.php.

◆ $requestTime

readonly DateTimeImmutable $requestTime

Definition at line 95 of file Request.php.

◆ $requestTimeFloat

readonly float $requestTimeFloat

Definition at line 103 of file Request.php.

◆ $requestUri

readonly string $requestUri

Definition at line 214 of file Request.php.

◆ $scriptFilename

readonly string $scriptFilename

Definition at line 169 of file Request.php.

◆ $scriptName

readonly string $scriptName

Definition at line 207 of file Request.php.

◆ $serverAddr

readonly string $serverAddr

Definition at line 60 of file Request.php.

◆ $serverAdmin

readonly string $serverAdmin

Definition at line 177 of file Request.php.

◆ $serverName

readonly string $serverName

Definition at line 67 of file Request.php.

◆ $serverPort

readonly string $serverPort

Definition at line 185 of file Request.php.

◆ $serverProtocol

readonly string $serverProtocol

Definition at line 81 of file Request.php.

◆ $serverSignature

readonly string $serverSignature

Definition at line 193 of file Request.php.

◆ $serverSoftware

readonly string $serverSoftware

Definition at line 74 of file Request.php.


The documentation for this class was generated from the following file: