$summary = ($bodySummarizer ?? new BodySummarizer())->summarize($response);if ($summary !== null) {$message .= ":\n{$summary}\n";}return new $className($message, $request, $response, $previous, $handlerContext);}/*** Get the request that caused the exception*/public function getRequest(): RequestInterface{
Client error: `POST https://api-pix.sicredi.com.br/oauth/token?grant_type=client_credentials` resulted in a `403 Forbidden` response: <HTML><HEAD> <TITLE>Access Denied</TITLE> </HEAD><BODY> <H1>Access Denied</H1> You don't have permission to access "ht (truncated...)
-rw-r--r-- 2414 2398 4441 Jun 22 2025 /home1/visaot48/teste.vistomaxx.com.br/project-root/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php
/home1/visaot48/teste.vistomaxx.com.br/project-root/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php
return $handler($request, $options)->then(static function (ResponseInterface $response) use ($request, $bodySummarizer) {$code = $response->getStatusCode();if ($code < 400) {return $response;}throw RequestException::create($request, $response, null, [], $bodySummarizer);});};};}/**
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:80
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:134
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:369
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:374
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:388
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:393
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:398
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:403
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:408
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:413
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:418
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:435
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:454
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:470
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:487
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:503
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:518
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:533
/** * Apply parse_url parts to a URI. * * @param array $parts Array of parse_url parts to apply. */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:543
/** * @param mixed $scheme * * @throws \InvalidArgumentException If the scheme is invalid. */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:578
/** * @param mixed $component * * @throws \InvalidArgumentException If the user info is invalid. */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:592
/** * @param mixed $host * * @throws \InvalidArgumentException If the host is invalid. */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:610
/** * @param mixed $port * * @throws \InvalidArgumentException If the port is invalid. */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:624
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:676
/** * Filters the path of a URI * * @param mixed $path * * @throws \InvalidArgumentException If the path is invalid. */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:690
/** * Filters the query string or fragment of a URI. * * @param mixed $str * * @throws \InvalidArgumentException If the query or fragment is invalid. */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:710
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:723
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:728
/**
* UTF-8 aware \parse_url() replacement.
*
* The internal function produces broken output for non ASCII domain names
* (IDN) when used with locales other than "C".
*
* On the other hand, cURL understands IDN correctly only when UTF-8 locale
* is configured ("C.UTF-8", "en_US.UTF-8", etc.).
*
* @see https://bugs.php.net/bug.php?id=52923
* @see https://www.php.net/manual/en/function.parse-url.php#114817
* @see https://curl.haxx.se/libcurl/c/CURLOPT_URL.html#ENCODING
*
* @return array|false
*/
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:106/** * Composes a URI reference string from its various components. * * Usually this method does not need to be called manually but instead is used indirectly via * `Psr\Http\Message\UriInterface::__toString`. * * PSR-7 UriInterface treats an empty component the same as a missing component as * getQuery(), getFragment() etc. always return a string. This explains the slight * difference to RFC 3986 Section 5.3. * * Another adjustment is that the authority separator is added even when the authority is missing/empty * for the "file" scheme. This is because PHP stream functions like `file_get_contents` only work with * `file:///myfile` but not with `file:/myfile` although they are equivalent according to RFC 3986. But * `file:///` is the more common syntax for the file scheme anyway (Chrome for example redirects to * that format). * * @see https://datatracker.ietf.org/doc/html/rfc3986#section-5.3 */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:167
/** * Whether the URI has the default port of the current scheme. * * `Psr\Http\Message\UriInterface::getPort` may return null or the standard port. This method can be used * independently of the implementation. */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:203
/** * Whether the URI is absolute, i.e. it has a scheme. * * An instance of UriInterface can either be an absolute URI or a relative reference. This method returns true * if it is the former. An absolute URI has a scheme. A relative reference is used to express a URI relative * to another URI, the base URI. Relative references can be divided into several forms: * - network-path references, e.g. '//example.com/path' * - absolute-path references, e.g. '/path' * - relative-path references, e.g. 'subpath' * * @see Uri::isNetworkPathReference * @see Uri::isAbsolutePathReference * @see Uri::isRelativePathReference * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4 */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:224
/** * Whether the URI is a network-path reference. * * A relative reference that begins with two slash characters is termed an network-path reference. * * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4.2 */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:236
/** * Whether the URI is a absolute-path reference. * * A relative reference that begins with a single slash character is termed an absolute-path reference. * * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4.2 */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:248
/** * Whether the URI is a relative-path reference. * * A relative reference that does not begin with a slash character is termed a relative-path reference. * * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4.2 */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:263
/** * Whether the URI is a same-document reference. * * A same-document reference refers to a URI that is, aside from its fragment * component, identical to the base URI. When no base URI is given, only an empty * URI reference (apart from its fragment) is considered a same-document reference. * * @param UriInterface $uri The URI to check * @param UriInterface|null $base An optional base URI to compare against * * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4.4 */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:282
/** * Creates a new URI with a specific query string value removed. * * Any existing query string values that exactly match the provided key are * removed. * * @param UriInterface $uri URI to use as a base. * @param string $key Query string key to remove. */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:305
/** * Creates a new URI with a specific query string value. * * Any existing query string values that exactly match the provided key are * removed and replaced with the given key value pair. * * A value of null will set the query string key without a value, e.g. "key" * instead of "key=value". * * @param UriInterface $uri URI to use as a base. * @param string $key Key to set. * @param string|null $value Value to set */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:325
/** * Creates a new URI with multiple specific query string values. * * It has the same behavior as withQueryValue() but for an associative array of key => value. * * @param UriInterface $uri URI to use as a base. * @param (string|null)[] $keyValueArray Associative array of key and values */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:342
/** * Creates a URI from a hash of `parse_url` components. * * @see https://www.php.net/manual/en/function.parse-url.php * * @throws MalformedUriException If the components do not form a valid URI. */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:360
/** * @param (string|int)[] $keys * * @return string[] */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:645
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:662
/**
* This constructor accepts an associative array of options.
*
* - size: (int) If a read stream would otherwise have an indeterminate
* size, but the size is known due to foreknowledge, then you can
* provide that size, in bytes.
* - metadata: (array) Any additional metadata to return when the metadata
* of the stream is accessed.
*
* @param resource $stream Stream resource to wrap.
* @param array{size?: int, metadata?: array} $options Associative array of options.
*
* @throws \InvalidArgumentException if the stream is not a stream resource
*/
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:50/** * Closes the stream when the destructed */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:72
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:77
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:95
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:108
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:118
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:132
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:157
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:162
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:167
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:172
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:181
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:196
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:201
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:217
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:246
/** * @return mixed */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:269
/** * @param string $method HTTP method * @param string|UriInterface $uri URI * @param (string|string[])[] $headers Request headers * @param string|resource|StreamInterface|null $body Request body * @param string $version Protocol version */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Request.php:35
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Request.php:61
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Request.php:78
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Request.php:92
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Request.php:97
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Request.php:106
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Request.php:111
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Request.php:127
/** * @param mixed $method */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Request.php:153
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:27
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:32
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:44
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:49
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:54
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:67
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:72
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:88
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:106
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:122
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:131
/** * @param (string|string[])[] $headers */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:146
/** * @param mixed $value * * @return string[] */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:171
/** * Trims whitespace from the header values. * * Spaces and tabs ought to be excluded by parsers when extracting the field value from a header field. * * header-field = field-name ":" OWS field-value OWS * OWS = *( SP / HTAB ) * * @param mixed[] $values Header values * * @return string[] Trimmed header values * * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2.4 */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:198
/** * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2 * * @param mixed $header */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:220
/** * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2 * * field-value = *( field-content / obs-fold ) * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ] * field-vchar = VCHAR / obs-text * VCHAR = %x21-7E * obs-text = %x80-FF * obs-fold = CRLF 1*( SP / HTAB ) */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:246
/**
* This constructor accepts an associative array of options.
*
* - size: (int) If a read stream would otherwise have an indeterminate
* size, but the size is known due to foreknowledge, then you can
* provide that size, in bytes.
* - metadata: (array) Any additional metadata to return when the metadata
* of the stream is accessed.
*
* @param resource $stream Stream resource to wrap.
* @param array{size?: int, metadata?: array} $options Associative array of options.
*
* @throws \InvalidArgumentException if the stream is not a stream resource
*/
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:50/** * Closes the stream when the destructed */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:72
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:77
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:95
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:108
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:118
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:132
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:157
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:162
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:167
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:172
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:181
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:196
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:201
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:217
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:246
/** * @return mixed */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:269
<HTML><HEAD> <TITLE>Access Denied</TITLE> </HEAD><BODY> <H1>Access Denied</H1> You don't have permission to access "http://api-pix.sicredi.com.br/oauth/token?" on this server.<P> Reference #18.56fcda17.1773752023.7a98fd4 <P>https://errors.edgesuite.net/18.56fcda17.1773752023.7a98fd4</P> </BODY> </HTML>
/** * @param int $status Status code * @param (string|string[])[] $headers Response headers * @param string|resource|StreamInterface|null $body Response body * @param string $version Protocol version * @param string|null $reason Reason phrase (when empty a default will be used based on the status code) */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Response.php:94
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Response.php:119
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Response.php:124
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Response.php:129
/** * @param mixed $statusCode */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Response.php:148
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Response.php:155
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:27
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:32
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:44
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:49
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:54
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:67
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:72
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:88
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:106
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:122
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:131
/** * @param (string|string[])[] $headers */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:146
/** * @param mixed $value * * @return string[] */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:171
/** * Trims whitespace from the header values. * * Spaces and tabs ought to be excluded by parsers when extracting the field value from a header field. * * header-field = field-name ":" OWS field-value OWS * OWS = *( SP / HTAB ) * * @param mixed[] $values Header values * * @return string[] Trimmed header values * * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2.4 */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:198
/** * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2 * * @param mixed $header */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:220
/** * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2 * * field-value = *( field-content / obs-fold ) * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ] * field-vchar = VCHAR / obs-text * VCHAR = %x21-7E * obs-text = %x80-FF * obs-fold = CRLF 1*( SP / HTAB ) */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:246
* If $f throws an exception, then $handler will be in the exception* stack trace. Since $handler contains a reference to the callable* itself we get a circular reference. We clear the $handler* here to avoid that memory leak.*/$f = $handler[$index];unset($handler);$promise->resolve($f($value));} elseif ($index === 1) {// Forward resolution values as-is.$promise->resolve($value);} else {// Forward rejections down the chain.$promise->reject($value);}
/**
* This constructor accepts an associative array of options.
*
* - size: (int) If a read stream would otherwise have an indeterminate
* size, but the size is known due to foreknowledge, then you can
* provide that size, in bytes.
* - metadata: (array) Any additional metadata to return when the metadata
* of the stream is accessed.
*
* @param resource $stream Stream resource to wrap.
* @param array{size?: int, metadata?: array} $options Associative array of options.
*
* @throws \InvalidArgumentException if the stream is not a stream resource
*/
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:50/** * Closes the stream when the destructed */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:72
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:77
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:95
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:108
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:118
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:132
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:157
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:162
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:167
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:172
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:181
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:196
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:201
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:217
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:246
/** * @return mixed */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:269
<HTML><HEAD> <TITLE>Access Denied</TITLE> </HEAD><BODY> <H1>Access Denied</H1> You don't have permission to access "http://api-pix.sicredi.com.br/oauth/token?" on this server.<P> Reference #18.56fcda17.1773752023.7a98fd4 <P>https://errors.edgesuite.net/18.56fcda17.1773752023.7a98fd4</P> </BODY> </HTML>
/** * @param int $status Status code * @param (string|string[])[] $headers Response headers * @param string|resource|StreamInterface|null $body Response body * @param string $version Protocol version * @param string|null $reason Reason phrase (when empty a default will be used based on the status code) */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Response.php:94
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Response.php:119
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Response.php:124
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Response.php:129
/** * @param mixed $statusCode */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Response.php:148
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Response.php:155
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:27
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:32
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:44
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:49
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:54
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:67
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:72
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:88
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:106
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:122
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:131
/** * @param (string|string[])[] $headers */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:146
/** * @param mixed $value * * @return string[] */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:171
/** * Trims whitespace from the header values. * * Spaces and tabs ought to be excluded by parsers when extracting the field value from a header field. * * header-field = field-name ":" OWS field-value OWS * OWS = *( SP / HTAB ) * * @param mixed[] $values Header values * * @return string[] Trimmed header values * * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2.4 */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:198
/** * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2 * * @param mixed $header */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:220
/** * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2 * * field-value = *( field-content / obs-fold ) * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ] * field-vchar = VCHAR / obs-text * VCHAR = %x21-7E * obs-text = %x80-FF * obs-fold = CRLF 1*( SP / HTAB ) */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:246
// If the value was not a settled promise or a thenable, then resolve// it in the task queue using the correct ID.if (!is_object($value) || !method_exists($value, 'then')) {$id = $state === self::FULFILLED ? 1 : 2;// It's a success, so resolve the handlers in the queue.Utils::queue()->add(static function () use ($id, $value, $handlers): void {foreach ($handlers as $handler) {self::callHandler($id, $value, $handler);}});} elseif ($value instanceof Promise && Is::pending($value)) {// We can just merge our handlers onto the next promise.$value->handlers = array_merge($value->handlers, $handlers);} else {// Resolve the handlers when the forwarded promise is resolved.
/**
* This constructor accepts an associative array of options.
*
* - size: (int) If a read stream would otherwise have an indeterminate
* size, but the size is known due to foreknowledge, then you can
* provide that size, in bytes.
* - metadata: (array) Any additional metadata to return when the metadata
* of the stream is accessed.
*
* @param resource $stream Stream resource to wrap.
* @param array{size?: int, metadata?: array} $options Associative array of options.
*
* @throws \InvalidArgumentException if the stream is not a stream resource
*/
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:50/** * Closes the stream when the destructed */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:72
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:77
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:95
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:108
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:118
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:132
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:157
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:162
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:167
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:172
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:181
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:196
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:201
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:217
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:246
/** * @return mixed */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:269
<HTML><HEAD> <TITLE>Access Denied</TITLE> </HEAD><BODY> <H1>Access Denied</H1> You don't have permission to access "http://api-pix.sicredi.com.br/oauth/token?" on this server.<P> Reference #18.56fcda17.1773752023.7a98fd4 <P>https://errors.edgesuite.net/18.56fcda17.1773752023.7a98fd4</P> </BODY> </HTML>
/** * @param int $status Status code * @param (string|string[])[] $headers Response headers * @param string|resource|StreamInterface|null $body Response body * @param string $version Protocol version * @param string|null $reason Reason phrase (when empty a default will be used based on the status code) */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Response.php:94
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Response.php:119
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Response.php:124
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Response.php:129
/** * @param mixed $statusCode */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Response.php:148
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Response.php:155
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:27
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:32
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:44
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:49
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:54
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:67
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:72
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:88
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:106
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:122
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:131
/** * @param (string|string[])[] $headers */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:146
/** * @param mixed $value * * @return string[] */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:171
/** * Trims whitespace from the header values. * * Spaces and tabs ought to be excluded by parsers when extracting the field value from a header field. * * header-field = field-name ":" OWS field-value OWS * OWS = *( SP / HTAB ) * * @param mixed[] $values Header values * * @return string[] Trimmed header values * * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2.4 */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:198
/** * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2 * * @param mixed $header */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:220
/** * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2 * * field-value = *( field-content / obs-fold ) * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ] * field-vchar = VCHAR / obs-text * VCHAR = %x21-7E * obs-text = %x80-FF * obs-fold = CRLF 1*( SP / HTAB ) */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:246
$this->queue[] = $task;}public function run(): void{while ($task = array_shift($this->queue)) {/** @var callable $task */$task();}}/*** The task queue will be run and exhausted by default when the process* exits IFF the exit is not the result of a PHP E_ERROR error.*
}private function invokeWaitFn(): void{try {$wfn = $this->waitFn;$this->waitFn = null;$wfn(true);} catch (\Throwable $reason) {if ($this->state === self::PENDING) {// The promise has not been resolved yet, so reject the promise// with the exception.$this->reject($reason);} else {// The promise was already resolved, so there's a problem in
}private function waitIfPending(): void{if ($this->state !== self::PENDING) {return;} elseif ($this->waitFn) {$this->invokeWaitFn();} elseif ($this->waitList) {$this->invokeWaitList();} else {// If there's no wait function, then reject the promise.$this->reject('Cannot wait on a promise that has '.'no internal wait function. You must provide a wait '.'function when constructing the promise to be able to '
private function invokeWaitList(): void{$waitList = $this->waitList;$this->waitList = null;foreach ($waitList as $result) {do {$result->waitIfPending();$result = $result->result;} while ($result instanceof Promise);if ($result instanceof PromiseInterface) {$result->wait(false);}}
private function waitIfPending(): void{if ($this->state !== self::PENDING) {return;} elseif ($this->waitFn) {$this->invokeWaitFn();} elseif ($this->waitList) {$this->invokeWaitList();} else {// If there's no wait function, then reject the promise.$this->reject('Cannot wait on a promise that has '.'no internal wait function. You must provide a wait '.'function when constructing the promise to be able to '.'wait on a promise.');}
public function otherwise(callable $onRejected): PromiseInterface{return $this->then(null, $onRejected);}public function wait(bool $unwrap = true){$this->waitIfPending();if ($this->result instanceof PromiseInterface) {return $this->result->wait($unwrap);}if ($unwrap) {if ($this->state === self::FULFILLED) {return $this->result;
** @throws GuzzleException*/public function request(string $method, $uri = '', array $options = []): ResponseInterface{$options[RequestOptions::SYNCHRONOUS] = true;return $this->requestAsync($method, $uri, $options)->wait();}/*** Get a client configuration option.** These options include default request options of the client, a "handler"* (if utilized by the concrete client), and a "base_uri" if utilized by
* @param string|UriInterface $uri URI object or string.* @param array $options Request options to apply.** @throws GuzzleException*/public function post($uri, array $options = []): ResponseInterface{return $this->request('POST', $uri, $options);}/*** Create and send an HTTP PATCH request.** Use an absolute path to override the base path of the client, or a* relative path to append to the base path of the client. The URL can
-rw-r--r-- 2414 2398 1712 Jun 22 2025 /home1/visaot48/teste.vistomaxx.com.br/project-root/writable/certs/rp01.pem
-rw-r--r-- 2414 2398 1700 Jun 22 2025 /home1/visaot48/teste.vistomaxx.com.br/project-root/writable/certs/rp01.key
'password' => $this->certPassword];$client = new Client(['base_uri' => 'https://api-pix.sicredi.com.br']);$response = $client->post('/oauth/token', ['cert' => $params['cert'],'ssl_key' => $params['ssl_key'],'query' => ['grant_type' => 'client_credentials'],'headers' =>[
-rw-r--r-- 2414 2398 1712 Jun 22 2025 /home1/visaot48/teste.vistomaxx.com.br/project-root/writable/certs/rp01.pem
-rw-r--r-- 2414 2398 1700 Jun 22 2025 /home1/visaot48/teste.vistomaxx.com.br/project-root/writable/certs/rp01.key
$params = ['filial' => 'rp01','cert' => $this->certPem,'ssl_key' => $this->certKey,'password' => $this->certPassword];$token = $this->getAccessToken();//dd($token);$client = new Client(['base_uri' => 'https://api-pix.sicredi.com.br']);$certificate = $this->getCertificates($params);
{//return 'Iniciando geração de cobrança PIX';helper('text');$txid = random_string('alnum', 25);$valor = 10.00;$descricao = 'Pagamento Pedido XYZ';$pix = new SicrediPix();$resposta = $pix->criarCobranca($txid, $valor, $descricao);$payloadUrl = $resposta['loc']['location'] ?? null;dd($resposta, $payloadUrl);if (!$payloadUrl) {return $this->response->setStatusCode(500)->setJSON(['erro' => 'Falha ao gerar cobrança']);}// Geração do QR Code com Endroid 6.0
// This is a Web request or PHP CLI request$params = $this->router->params();// The controller method param types may not be string.// So cannot set `declare(strict_types=1)` in this file.$output = method_exists($class, '_remap')? $class->_remap($this->method, ...$params): $class->{$this->method}(...$params);$this->benchmark->stop('controller');return $output;}/**
if (! method_exists($controller, '_remap') && ! is_callable([$controller, $this->method], false)) {throw PageNotFoundException::forMethodNotFound($this->method);}// Is there a "post_controller_constructor" event?Events::trigger('post_controller_constructor');$returned = $this->runController($controller);} else {$this->benchmark->stop('controller_constructor');$this->benchmark->stop('controller');}// If $returned is a string, then the controller output something,// probably a view, instead of echoing it directly. Send it along
/** * Constructor * * @param App $config * @param string|null $body */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:132
Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:172
/** * Handles setting up the locale, perhaps auto-detecting through * content negotiation. * * @param App $config * * @return void */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:192
/** * Sets up our URI object based on the information we have. This is * either provided by the user in the baseURL Config setting, or * determined from the environment as needed. * * @return void * * @deprecated 4.4.0 No longer used. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:212
/** * Detects the relative path based on * the URIProtocol Config setting. * * @deprecated 4.4.0 Moved to SiteURIFactory. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:223
/** * Will parse the REQUEST_URI and automatically detect the URI from it, * fixing the query string if necessary. * * @return string The URI it found. * * @deprecated 4.4.0 Moved to SiteURIFactory. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:246
/** * Parse QUERY_STRING * * Will parse QUERY_STRING and automatically detect the URI from it. * * @deprecated 4.4.0 Moved to SiteURIFactory. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:306
/** * Provides a convenient way to work with the Negotiate class * for content negotiation. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:334
/** * Checks this request type. * * @param string $type HTTP verb or 'json' or 'ajax' * @phpstan-param string|'get'|'post'|'put'|'delete'|'head'|'patch'|'options'|'json'|'ajax' $type */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:355
/** * Determines if this request was made from the command line (CLI). */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:379
/** * Test to see if a request contains the HTTP_X_REQUESTED_WITH header. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:387
/** * Attempts to detect if the current connection is secure through * a few different methods. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:397
/** * Sets the URI path relative to baseURL. * * Note: Since current_url() accesses the shared request * instance, this can be used to change the "current URL" * for testing. * * @param string $path URI path relative to baseURL * @param App|null $config Optional alternate config to use * * @return $this * * @deprecated 4.4.0 This method will be private. The parameter $config is deprecated. No longer used. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:424
/** * Returns the URI path relative to baseURL, * running detection as necessary. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:435
/** * Sets the locale string for this request. * * @return IncomingRequest */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:445
/** * Set the valid locales. * * @return $this */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:464
/** * Gets the current locale, with a fallback to the default * locale if none is set. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:475
/** * Returns the default locale as set in app/Config/App.php */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:483
/** * Fetch an item from JSON input stream with fallback to $_REQUEST object. This is the simplest way * to grab data from the request object and can be used in lieu of the * other get* methods in most cases. * * @param array|string|null $index * @param int|null $filter Filter constant * @param array|int|null $flags * * @return array|bool|float|int|stdClass|string|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:499
/** * A convenience method that grabs the raw input stream and decodes * the JSON into an array. * * If $assoc == true, then all objects in the response will be converted * to associative arrays. * * @param bool $assoc Whether to return objects as associative arrays * @param int $depth How many levels deep to decode * @param int $options Bitmask of options * * @see http://php.net/manual/en/function.json-decode.php * * @return array|bool|float|int|stdClass|null * * @throws HTTPException When the body is invalid as JSON. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:528
/** * Get a specific variable from a JSON input stream * * @param array|string|null $index The variable that you want which can use dot syntax for getting specific values. * @param bool $assoc If true, return the result as an associative array. * @param int|null $filter Filter Constant * @param array|int|null $flags Option * * @return array|bool|float|int|stdClass|string|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:553
/** * A convenience method that grabs the raw input stream(send method in PUT, PATCH, DELETE) and decodes * the String into an array. * * @return array */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:628
/** * Gets a specific variable from raw input stream (send method in PUT, PATCH, DELETE). * * @param array|string|null $index The variable that you want which can use dot syntax for getting specific values. * @param int|null $filter Filter Constant * @param array|int|null $flags Option * * @return array|bool|float|int|object|string|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:644
/** * Fetch an item from GET data. * * @param array|string|null $index Index for item to fetch from $_GET. * @param int|null $filter A filter name to apply. * @param array|int|null $flags * * @return array|bool|float|int|object|string|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:698
/** * Fetch an item from POST. * * @param array|string|null $index Index for item to fetch from $_POST. * @param int|null $filter A filter name to apply * @param array|int|null $flags * * @return array|bool|float|int|object|string|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:712
/** * Fetch an item from POST data with fallback to GET. * * @param array|string|null $index Index for item to fetch from $_POST or $_GET * @param int|null $filter A filter name to apply * @param array|int|null $flags * * @return array|bool|float|int|object|string|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:726
/** * Fetch an item from GET data with fallback to POST. * * @param array|string|null $index Index for item to be fetched from $_GET or $_POST * @param int|null $filter A filter name to apply * @param array|int|null $flags * * @return array|bool|float|int|object|string|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:749
/** * Fetch an item from the COOKIE array. * * @param array|string|null $index Index for item to be fetched from $_COOKIE * @param int|null $filter A filter name to be applied * @param array|int|null $flags * * @return array|bool|float|int|object|string|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:772
/** * Fetch the user agent string * * @return UserAgent */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:782
/** * Attempts to get old Input data that has been flashed to the session * with redirect_with_input(). It first checks for the data in the old * POST data, then the old GET data and finally check for dot arrays * * @return array|string|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:794
/** * Returns an array of all files that have been uploaded with this * request. Each file is represented by an UploadedFile instance. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:845
/** * Verify if a file exist, by the name of the input field used to upload it, in the collection * of uploaded files and if is have been uploaded with multiple option. * * @return array|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:860
/** * Retrieves a single file by the name of the input field used * to upload it. * * @return UploadedFile|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:875
/** * Sets the request method. Used when spoofing the request. * * @return $this * * @deprecated 4.0.5 Use withMethod() instead for immutability * * @codeCoverageIgnore */ Inherited from CodeIgniter\HTTP\Request Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Request.php:54
/** * Returns an instance with the specified method. * * @param string $method * * @return static */ Inherited from CodeIgniter\HTTP\Request Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Request.php:68
/** * Retrieves the URI instance. * * @return URI */ Inherited from CodeIgniter\HTTP\Request Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Request.php:82
/** * Retrieves the HTTP method of the request. * * @return string Returns the request method (always uppercase) */ Inherited from CodeIgniter\HTTP\OutgoingRequest Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/OutgoingRequest.php:75
/** * Returns an instance with the provided URI. * * @param URI $uri New request URI to use. * @param bool $preserveHost Preserve the original state of the Host header. * * @return static */ Inherited from CodeIgniter\HTTP\OutgoingRequest Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/OutgoingRequest.php:127
/** * Returns the Message's body. * * @return string|null */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Message.php:58
/** * Returns an array containing all headers. * * @return array<string, Header> An array of the request headers * * @deprecated Use Message::headers() to make room for PSR-7 * * @TODO Incompatible return value with PSR-7 * * @codeCoverageIgnore */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Message.php:74
/** * Returns a single header object. If multiple headers with the same * name exist, then will return an array of header objects. * * @return array|Header|null * * @deprecated Use Message::header() to make room for PSR-7 * * @TODO Incompatible return value with PSR-7 * * @codeCoverageIgnore */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Message.php:91
/** * Determines whether a header exists. */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Message.php:99
/** * Retrieves a comma-separated string of the values for a single header. * * This method returns all of the header values of the given * case-insensitive header name as a string concatenated together using * a comma. * * NOTE: Not all header values may be appropriately represented using * comma concatenation. For such headers, use getHeader() instead * and supply your own delimiter when concatenating. */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Message.php:117
/** * Returns the HTTP Protocol Version. */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Message.php:138
/** * Sets the body of the current message. * * @param string $data * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:59
/** * Appends data to the body of the current message. * * @param string $data * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:73
/** * Populates the $headers array with any headers the server knows about. */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:87
/** * Returns an array containing all Headers. * * @return array<string, Header|list<Header>> An array of the Header objects */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:114
/** * Returns a single Header object. If multiple headers with the same * name exist, then will return an array of header objects. * * @param string $name * * @return Header|list<Header>|null */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:134
/** * Sets a header and it's value. * * @param array|string|null $value * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:148
/** * Removes a header from the list of headers we track. * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:195
/** * Adds an additional header value to any headers that accept * multiple values (i.e. are an array or implement ArrayAccess) * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:209
/** * Adds a header (not a header value) with the same name. * Use this only when you set multiple headers with the same name, * typically, for `Set-Cookie`. * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:229
/** * Adds an additional header value to any headers that accept * multiple values (i.e. are an array or implement ArrayAccess) * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:255
/** * Takes a header name in any case, and returns the * normal-case version of the header. */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:270
/** * Sets the HTTP protocol version. * * @return $this * * @throws HTTPException For invalid protocols */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:282
/** * Gets the user's IP address. * * @return string IP address if it can be detected. * If the IP address is not a valid IP address, * then will return '0.0.0.0'. */ Inherited from CodeIgniter\HTTP\Request Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/RequestTrait.php:60
/** * Fetch an item from the $_SERVER array. * * @param array|string|null $index Index for item to be fetched from $_SERVER * @param int|null $filter A filter name to be applied * @param array|int|null $flags * * @return mixed */ Inherited from CodeIgniter\HTTP\Request Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/RequestTrait.php:202
/** * Fetch an item from the $_ENV array. * * @param array|string|null $index Index for item to be fetched from $_ENV * @param int|null $filter A filter name to be applied * @param array|int|null $flags * * @return mixed * * @deprecated 4.4.4 This method does not work from the beginning. Use `env()`. */ Inherited from CodeIgniter\HTTP\Request Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/RequestTrait.php:218
/** * Allows manually setting the value of PHP global, like $_GET, $_POST, etc. * * @param string $name Supergrlobal name (lowercase) * @phpstan-param 'get'|'post'|'request'|'cookie'|'server' $name * @param mixed $value * * @return $this */ Inherited from CodeIgniter\HTTP\Request Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/RequestTrait.php:233
/** * Fetches one or more items from a global, like cookies, get, post, etc. * Can optionally filter the input when you retrieve it by passing in * a filter. * * If $type is an array, it must conform to the input allowed by the * filter_input_array method. * * http://php.net/manual/en/filter.filters.sanitize.php * * @param string $name Supergrlobal name (lowercase) * @phpstan-param 'get'|'post'|'request'|'cookie'|'server' $name * @param array|int|string|null $index * @param int|null $filter Filter constant * @param array|int|null $flags Options * * @return array|bool|float|int|object|string|null */ Inherited from CodeIgniter\HTTP\Request Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/RequestTrait.php:258
/** * Saves a copy of the current state of one of several PHP globals, * so we can retrieve them later. * * @param string $name Superglobal name (lowercase) * @phpstan-param 'get'|'post'|'request'|'cookie'|'server' $name * * @return void */ Inherited from CodeIgniter\HTTP\Request Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/RequestTrait.php:349
/** * Gets the client IP address from the HTTP header. */ Inherited from CodeIgniter\HTTP\Request Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/RequestTrait.php:168
Inherited from CodeIgniter\HTTP\OutgoingRequest Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/OutgoingRequest.php:63
Inherited from CodeIgniter\HTTP\OutgoingRequest Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/OutgoingRequest.php:155
Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:173
Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:180
/** * Constructor * * @param App $config * * @todo Recommend removing reliance on config injection * * @deprecated 4.5.0 The param $config is no longer used. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Response.php:153
/** * Turns "pretend" mode on or off to aid in testing. * * Note that this is not a part of the interface so * should not be relied on outside of internal testing. * * @return $this * * @internal For testing purposes only. * @testTag only available to test code */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Response.php:183
/** * Gets the response status code. * * The status code is a 3-digit integer result code of the server's attempt * to understand and satisfy the request. * * @return int Status code. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Response.php:198
/** * Gets the response reason phrase associated with the status code. * * Because a reason phrase is not a required element in a response * status line, the reason phrase value MAY be null. Implementations MAY * choose to return the default RFC 7231 recommended reason phrase (or those * listed in the IANA HTTP Status Code Registry) for the response's * status code. * * @see http://tools.ietf.org/html/rfc7231#section-6 * @see http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml * * @return string Reason phrase; must return an empty string if none present. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Response.php:221
/** * Returns the Message's body. * * @return string|null */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Message.php:58
/** * Returns an array containing all headers. * * @return array<string, Header> An array of the request headers * * @deprecated Use Message::headers() to make room for PSR-7 * * @TODO Incompatible return value with PSR-7 * * @codeCoverageIgnore */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Message.php:74
/** * Returns a single header object. If multiple headers with the same * name exist, then will return an array of header objects. * * @return array|Header|null * * @deprecated Use Message::header() to make room for PSR-7 * * @TODO Incompatible return value with PSR-7 * * @codeCoverageIgnore */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Message.php:91
/** * Determines whether a header exists. */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Message.php:99
/** * Retrieves a comma-separated string of the values for a single header. * * This method returns all of the header values of the given * case-insensitive header name as a string concatenated together using * a comma. * * NOTE: Not all header values may be appropriately represented using * comma concatenation. For such headers, use getHeader() instead * and supply your own delimiter when concatenating. */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Message.php:117
/** * Returns the HTTP Protocol Version. */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Message.php:138
/** * Sets the body of the current message. * * @param string $data * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:59
/** * Appends data to the body of the current message. * * @param string $data * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:73
/** * Populates the $headers array with any headers the server knows about. */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:87
/** * Returns an array containing all Headers. * * @return array<string, Header|list<Header>> An array of the Header objects */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:114
/** * Returns a single Header object. If multiple headers with the same * name exist, then will return an array of header objects. * * @param string $name * * @return Header|list<Header>|null */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:134
/** * Sets a header and it's value. * * @param array|string|null $value * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:148
/** * Removes a header from the list of headers we track. * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:195
/** * Adds an additional header value to any headers that accept * multiple values (i.e. are an array or implement ArrayAccess) * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:209
/** * Adds a header (not a header value) with the same name. * Use this only when you set multiple headers with the same name, * typically, for `Set-Cookie`. * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:229
/** * Adds an additional header value to any headers that accept * multiple values (i.e. are an array or implement ArrayAccess) * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:255
/** * Takes a header name in any case, and returns the * normal-case version of the header. */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:270
/** * Sets the HTTP protocol version. * * @return $this * * @throws HTTPException For invalid protocols */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:282
/** * Return an instance with the specified status code and, optionally, reason phrase. * * If no reason phrase is specified, will default recommended reason phrase for * the response's status code. * * @see http://tools.ietf.org/html/rfc7231#section-6 * @see http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml * * @param int $code The 3-digit integer result code to set. * @param string $reason The reason phrase to use with the * provided status code; if none is provided, will * default to the IANA name. * * @return $this * * @throws HTTPException For invalid status code arguments. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:78
/** * Sets the date header * * @return $this */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:106
/** * Set the Link Header * * @see http://tools.ietf.org/html/rfc5988 * * @return $this * * @todo Recommend moving to Pager */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:124
/** * Sets the Content Type header for this response with the mime type * and, optionally, the charset. * * @return $this */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:156
/** * Converts the $body into JSON and sets the Content Type header. * * @param array|object|string $body * * @return $this */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:176
/** * Returns the current body, converted to JSON is it isn't already. * * @return string|null * * @throws InvalidArgumentException If the body property is not array. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:190
/** * Converts $body into XML, and sets the correct Content-Type. * * @param array|string $body * * @return $this */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:208
/** * Retrieves the current body into XML and returns it. * * @return bool|string|null * * @throws InvalidArgumentException If the body property is not array. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:222
/** * Handles conversion of the data into the appropriate format, * and sets the correct Content-Type header for our response. * * @param array|object|string $body * @param string $format Valid: json, xml * * @return false|string * * @throws InvalidArgumentException If the body property is not string or array. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:244
/** * Sets the appropriate headers to ensure this response * is not cached by the browsers. * * @return $this * * @todo Recommend researching these directives, might need: 'private', 'no-transform', 'no-store', 'must-revalidate' * * @see DownloadResponse::noCache() */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:274
/** * A shortcut method that allows the developer to set all of the * cache-control headers in one method call. * * The options array is used to provide the cache-control directives * for the header. It might look something like: * * $options = [ * 'max-age' => 300, * 's-maxage' => 900 * 'etag' => 'abcde', * ]; * * Typical options are: * - etag * - last-modified * - max-age * - s-maxage * - private * - public * - must-revalidate * - proxy-revalidate * - no-transform * * @return $this */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:308
/** * Sets the Last-Modified date header. * * $date can be either a string representation of the date or, * preferably, an instance of DateTime. * * @param DateTime|string $date * * @return $this */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:345
/** * Sends the output to the browser. * * @return $this */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:366
/** * Sends the headers of this HTTP response to the browser. * * @return $this */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:388
/** * Sends the Body of the message to the browser. * * @return $this */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:434
/** * Perform a redirect to a new URL, in two flavors: header or location. * * @param string $uri The URI to redirect to * @param int|null $code The type of redirection, defaults to 302 * * @return $this * * @throws HTTPException For invalid status code. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:451
/**
* Set a cookie
*
* Accepts an arbitrary number of binds (up to 7) or an associative
* array in the first parameter containing all the values.
*
* @param array|Cookie|string $name Cookie name / array containing binds / Cookie object
* @param string $value Cookie value
* @param int $expire Cookie expiration time in seconds
* @param string $domain Cookie domain (e.g.: '.yourdomain.com')
* @param string $path Cookie path (default: '/')
* @param string $prefix Cookie name prefix ('': the default prefix)
* @param bool|null $secure Whether to only transfer cookies via SSL
* @param bool|null $httponly Whether only make the cookie accessible via HTTP (no javascript)
* @param string|null $samesite
*
* @return $this
*/
Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:509/** * Returns the `CookieStore` instance. * * @return CookieStore */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:565
/** * Checks to see if the Response has a specified cookie or not. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:573
/** * Returns the cookie * * @param string $prefix Cookie prefix. * '': the default prefix * * @return array<string, Cookie>|Cookie|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:588
/** * Sets a cookie to be deleted when the response is sent. * * @return $this */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:610
/** * Returns all cookies currently set. * * @return array<string, Cookie> */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:653
/** * Actually sets the cookies. * * @return void */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:663
Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:672
/** * Extracted call to `setrawcookie()` in order to run unit tests on it. * * @codeCoverageIgnore */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:701
/** * Extracted call to `setcookie()` in order to run unit tests on it. * * @codeCoverageIgnore */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:711
/** * Force a download. * * Generates the headers that force a download to happen. And * sends the file to the browser. * * @param string $filename The name you want the downloaded file to be named * or the path to the file to send * @param string|null $data The data to be downloaded. Set null if the $filename is the file path * @param bool $setMime Whether to try and send the actual MIME type * * @return DownloadResponse|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:729
Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:753
Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:173
Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:180
/** * Constructor. * * @param \Config\Logger $config * * @throws RuntimeException */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Log/Logger.php:124
/** * System is unusable. * * @param string $message */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Log/Logger.php:162
/** * Action must be taken immediately. * * Example: Entire website down, database unavailable, etc. This should * trigger the SMS alerts and wake you up. * * @param string $message */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Log/Logger.php:175
/** * Critical conditions. * * Example: Application component unavailable, unexpected exception. * * @param string $message */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Log/Logger.php:187
/** * Runtime errors that do not require immediate action but should typically * be logged and monitored. * * @param string $message */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Log/Logger.php:198
/** * Exceptional occurrences that are not errors. * * Example: Use of deprecated APIs, poor use of an API, undesirable things * that are not necessarily wrong. * * @param string $message */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Log/Logger.php:211
/** * Normal but significant events. * * @param string $message */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Log/Logger.php:221
/** * Interesting events. * * Example: User logs in, SQL logs. * * @param string $message */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Log/Logger.php:233
/** * Detailed debug information. * * @param string $message */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Log/Logger.php:243
/** * Logs with an arbitrary level. * * @param string $level * @param string $message */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Log/Logger.php:254
/**
* Replaces any placeholders in the message with variables
* from the context, as well as a few special items like:
*
* {session_vars}
* {post_vars}
* {get_vars}
* {env}
* {env:foo}
* {file}
* {line}
*
* @param string $message
*
* @return string
*/
Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Log/Logger.php:318/** * Determines the file and line that the logging call * was made from by analyzing the backtrace. * Find the earliest stack frame that is part of our logging system. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Log/Logger.php:374
Defined in <ROOT>/project-root/app/Controllers/PixController.php:14
Defined in <ROOT>/project-root/app/Controllers/PixController.php:19
Defined in <ROOT>/project-root/app/Controllers/PixController.php:60
/** * @return void */ Inherited from App\Controllers\BaseController Defined in <ROOT>/project-root/app/Controllers/BaseController.php:49
/** * A convenience method to use when you need to ensure that a single * method is reached only via HTTPS. If it isn't, then a redirect * will happen back to this method and HSTS header will be sent * to have modern browsers transform requests automatically. * * @param int $duration The number of seconds this link should be * considered secure for. Only with HSTS header. * Default value is 1 year. * * @return void * * @throws HTTPException|RedirectException */ Inherited from CodeIgniter\Controller Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Controller.php:111
/** * How long to cache the current page for. * * @params int $time time to live in seconds. * * @return void */ Inherited from CodeIgniter\Controller Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Controller.php:123
/** * A shortcut to performing validation on Request data. * * @param array|string $rules * @param array $messages An array of custom error messages */ Inherited from CodeIgniter\Controller Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Controller.php:134
/** * A shortcut to performing validation on any input data. * * @param array $data The data to validate * @param array|string $rules * @param array $messages An array of custom error messages * @param string|null $dbGroup The database group to use */ Inherited from CodeIgniter\Controller Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Controller.php:149
/** * @param array|string $rules */ Inherited from CodeIgniter\Controller Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Controller.php:159
$possibleResponse = $this->runRequiredBeforeFilters($filters);// If a ResponseInterface instance is returned then send it back to the client and stopif ($possibleResponse instanceof ResponseInterface) {$this->response = $possibleResponse;} else {try {$this->response = $this->handleRequest($routes, config(Cache::class), $returnResponse);} catch (ResponsableInterface $e) {$this->outputBufferingEnd();$this->response = $e->getResponse();} catch (PageNotFoundException $e) {$this->response = $this->display404errors($e);} catch (Throwable $e) {
drwxr-xr-x 2414 2398 4096 Jun 22 2025 /home1/visaot48/teste.vistomaxx.com.br/project-root/writable/cache
drwxr-xr-x 2414 2398 4096 Jun 22 2025 /home1/visaot48/teste.vistomaxx.com.br/project-root/writable/cache
/** * Will attempt to get environment variables with names * that match the properties of the child class. * * The "shortPrefix" is the lowercase-only config class name. */ Inherited from CodeIgniter\Config\BaseConfig Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Config/BaseConfig.php:115
/** * Initialization an environment-specific configuration setting * * @param array|bool|float|int|string|null $property * * @return void */ Inherited from CodeIgniter\Config\BaseConfig Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Config/BaseConfig.php:152
/** * Retrieve an environment-specific configuration setting * * @return string|null */ Inherited from CodeIgniter\Config\BaseConfig Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Config/BaseConfig.php:190
/** * Provides external libraries a simple way to register one or more * options into a config file. * * @return void * * @throws ReflectionException */ Inherited from CodeIgniter\Config\BaseConfig Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Config/BaseConfig.php:238
Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Config/BaseConfig.php:73
/** * @internal For testing purposes only. * @testTag */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Config/BaseConfig.php:92
/** * @internal For testing purposes only. * @testTag */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Config/BaseConfig.php:101
Inherited from CodeIgniter\Modules\Modules Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Modules/Modules.php:46
/** * Should the application auto-discover the requested resource. */ Inherited from CodeIgniter\Modules\Modules Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Modules/Modules.php:54
Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Modules/Modules.php:63
/*** Now that everything is set up, it's time to actually fire* up the engines and make this app do its thang.*/protected static function runCodeIgniter(CodeIgniter $app): void{$app->run();}protected static function saveConfigCache(FactoriesCache $factoriesCache): void{$factoriesCache->save('config');}
if ($configCacheEnabled) {$factoriesCache = static::loadConfigCache();}static::autoloadHelpers();$app = static::initializeCodeIgniter();static::runCodeIgniter($app);if ($configCacheEnabled) {static::saveConfigCache($factoriesCache);}// Exits the application, setting the exit code for CLI-based// applications that might be watching.
/** * Will attempt to get environment variables with names * that match the properties of the child class. * * The "shortPrefix" is the lowercase-only config class name. */ Inherited from CodeIgniter\Config\BaseConfig Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Config/BaseConfig.php:115
/** * Initialization an environment-specific configuration setting * * @param array|bool|float|int|string|null $property * * @return void */ Inherited from CodeIgniter\Config\BaseConfig Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Config/BaseConfig.php:152
/** * Retrieve an environment-specific configuration setting * * @return string|null */ Inherited from CodeIgniter\Config\BaseConfig Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Config/BaseConfig.php:190
/** * Provides external libraries a simple way to register one or more * options into a config file. * * @return void * * @throws ReflectionException */ Inherited from CodeIgniter\Config\BaseConfig Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Config/BaseConfig.php:238
Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Config/BaseConfig.php:73
/** * @internal For testing purposes only. * @testTag */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Config/BaseConfig.php:92
/** * @internal For testing purposes only. * @testTag */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Config/BaseConfig.php:101
/** * Starts a timer running. * * Multiple calls can be made to this method so that several * execution points can be measured. * * @param string $name The name of this timer. * @param float|null $time Allows user to provide time. * * @return Timer */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Debug/Timer.php:46
/** * Stops a running timer. * * If the timer is not stopped before the timers() method is called, * it will be automatically stopped at that point. * * @param string $name The name of this timer. * * @return Timer */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Debug/Timer.php:66
/** * Returns the duration of a recorded timer. * * @param string $name The name of the timer. * @param int $decimals Number of decimal places. * * @return float|null Returns null if timer does not exist by that name. * Returns a float representing the number of * seconds elapsed while that timer was running. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Debug/Timer.php:89
/** * Returns the array of timers, with the duration pre-calculated for you. * * @param int $decimals Number of decimal places */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Debug/Timer.php:111
/** * Checks whether or not a timer with the specified name exists. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Debug/Timer.php:129
/** * Executes callable and measures its time. * Returns its return value if any. * * @param string $name The name of the timer * @param callable(): mixed $callable callable to be executed * * @return mixed */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Debug/Timer.php:143
/** * Constructor * * @param App $config * @param string|null $body */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:132
Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:172
/** * Handles setting up the locale, perhaps auto-detecting through * content negotiation. * * @param App $config * * @return void */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:192
/** * Sets up our URI object based on the information we have. This is * either provided by the user in the baseURL Config setting, or * determined from the environment as needed. * * @return void * * @deprecated 4.4.0 No longer used. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:212
/** * Detects the relative path based on * the URIProtocol Config setting. * * @deprecated 4.4.0 Moved to SiteURIFactory. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:223
/** * Will parse the REQUEST_URI and automatically detect the URI from it, * fixing the query string if necessary. * * @return string The URI it found. * * @deprecated 4.4.0 Moved to SiteURIFactory. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:246
/** * Parse QUERY_STRING * * Will parse QUERY_STRING and automatically detect the URI from it. * * @deprecated 4.4.0 Moved to SiteURIFactory. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:306
/** * Provides a convenient way to work with the Negotiate class * for content negotiation. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:334
/** * Checks this request type. * * @param string $type HTTP verb or 'json' or 'ajax' * @phpstan-param string|'get'|'post'|'put'|'delete'|'head'|'patch'|'options'|'json'|'ajax' $type */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:355
/** * Determines if this request was made from the command line (CLI). */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:379
/** * Test to see if a request contains the HTTP_X_REQUESTED_WITH header. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:387
/** * Attempts to detect if the current connection is secure through * a few different methods. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:397
/** * Sets the URI path relative to baseURL. * * Note: Since current_url() accesses the shared request * instance, this can be used to change the "current URL" * for testing. * * @param string $path URI path relative to baseURL * @param App|null $config Optional alternate config to use * * @return $this * * @deprecated 4.4.0 This method will be private. The parameter $config is deprecated. No longer used. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:424
/** * Returns the URI path relative to baseURL, * running detection as necessary. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:435
/** * Sets the locale string for this request. * * @return IncomingRequest */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:445
/** * Set the valid locales. * * @return $this */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:464
/** * Gets the current locale, with a fallback to the default * locale if none is set. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:475
/** * Returns the default locale as set in app/Config/App.php */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:483
/** * Fetch an item from JSON input stream with fallback to $_REQUEST object. This is the simplest way * to grab data from the request object and can be used in lieu of the * other get* methods in most cases. * * @param array|string|null $index * @param int|null $filter Filter constant * @param array|int|null $flags * * @return array|bool|float|int|stdClass|string|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:499
/** * A convenience method that grabs the raw input stream and decodes * the JSON into an array. * * If $assoc == true, then all objects in the response will be converted * to associative arrays. * * @param bool $assoc Whether to return objects as associative arrays * @param int $depth How many levels deep to decode * @param int $options Bitmask of options * * @see http://php.net/manual/en/function.json-decode.php * * @return array|bool|float|int|stdClass|null * * @throws HTTPException When the body is invalid as JSON. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:528
/** * Get a specific variable from a JSON input stream * * @param array|string|null $index The variable that you want which can use dot syntax for getting specific values. * @param bool $assoc If true, return the result as an associative array. * @param int|null $filter Filter Constant * @param array|int|null $flags Option * * @return array|bool|float|int|stdClass|string|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:553
/** * A convenience method that grabs the raw input stream(send method in PUT, PATCH, DELETE) and decodes * the String into an array. * * @return array */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:628
/** * Gets a specific variable from raw input stream (send method in PUT, PATCH, DELETE). * * @param array|string|null $index The variable that you want which can use dot syntax for getting specific values. * @param int|null $filter Filter Constant * @param array|int|null $flags Option * * @return array|bool|float|int|object|string|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:644
/** * Fetch an item from GET data. * * @param array|string|null $index Index for item to fetch from $_GET. * @param int|null $filter A filter name to apply. * @param array|int|null $flags * * @return array|bool|float|int|object|string|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:698
/** * Fetch an item from POST. * * @param array|string|null $index Index for item to fetch from $_POST. * @param int|null $filter A filter name to apply * @param array|int|null $flags * * @return array|bool|float|int|object|string|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:712
/** * Fetch an item from POST data with fallback to GET. * * @param array|string|null $index Index for item to fetch from $_POST or $_GET * @param int|null $filter A filter name to apply * @param array|int|null $flags * * @return array|bool|float|int|object|string|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:726
/** * Fetch an item from GET data with fallback to POST. * * @param array|string|null $index Index for item to be fetched from $_GET or $_POST * @param int|null $filter A filter name to apply * @param array|int|null $flags * * @return array|bool|float|int|object|string|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:749
/** * Fetch an item from the COOKIE array. * * @param array|string|null $index Index for item to be fetched from $_COOKIE * @param int|null $filter A filter name to be applied * @param array|int|null $flags * * @return array|bool|float|int|object|string|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:772
/** * Fetch the user agent string * * @return UserAgent */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:782
/** * Attempts to get old Input data that has been flashed to the session * with redirect_with_input(). It first checks for the data in the old * POST data, then the old GET data and finally check for dot arrays * * @return array|string|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:794
/** * Returns an array of all files that have been uploaded with this * request. Each file is represented by an UploadedFile instance. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:845
/** * Verify if a file exist, by the name of the input field used to upload it, in the collection * of uploaded files and if is have been uploaded with multiple option. * * @return array|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:860
/** * Retrieves a single file by the name of the input field used * to upload it. * * @return UploadedFile|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:875
/** * Sets the request method. Used when spoofing the request. * * @return $this * * @deprecated 4.0.5 Use withMethod() instead for immutability * * @codeCoverageIgnore */ Inherited from CodeIgniter\HTTP\Request Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Request.php:54
/** * Returns an instance with the specified method. * * @param string $method * * @return static */ Inherited from CodeIgniter\HTTP\Request Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Request.php:68
/** * Retrieves the URI instance. * * @return URI */ Inherited from CodeIgniter\HTTP\Request Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Request.php:82
/** * Retrieves the HTTP method of the request. * * @return string Returns the request method (always uppercase) */ Inherited from CodeIgniter\HTTP\OutgoingRequest Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/OutgoingRequest.php:75
/** * Returns an instance with the provided URI. * * @param URI $uri New request URI to use. * @param bool $preserveHost Preserve the original state of the Host header. * * @return static */ Inherited from CodeIgniter\HTTP\OutgoingRequest Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/OutgoingRequest.php:127
/** * Returns the Message's body. * * @return string|null */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Message.php:58
/** * Returns an array containing all headers. * * @return array<string, Header> An array of the request headers * * @deprecated Use Message::headers() to make room for PSR-7 * * @TODO Incompatible return value with PSR-7 * * @codeCoverageIgnore */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Message.php:74
/** * Returns a single header object. If multiple headers with the same * name exist, then will return an array of header objects. * * @return array|Header|null * * @deprecated Use Message::header() to make room for PSR-7 * * @TODO Incompatible return value with PSR-7 * * @codeCoverageIgnore */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Message.php:91
/** * Determines whether a header exists. */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Message.php:99
/** * Retrieves a comma-separated string of the values for a single header. * * This method returns all of the header values of the given * case-insensitive header name as a string concatenated together using * a comma. * * NOTE: Not all header values may be appropriately represented using * comma concatenation. For such headers, use getHeader() instead * and supply your own delimiter when concatenating. */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Message.php:117
/** * Returns the HTTP Protocol Version. */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Message.php:138
/** * Sets the body of the current message. * * @param string $data * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:59
/** * Appends data to the body of the current message. * * @param string $data * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:73
/** * Populates the $headers array with any headers the server knows about. */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:87
/** * Returns an array containing all Headers. * * @return array<string, Header|list<Header>> An array of the Header objects */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:114
/** * Returns a single Header object. If multiple headers with the same * name exist, then will return an array of header objects. * * @param string $name * * @return Header|list<Header>|null */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:134
/** * Sets a header and it's value. * * @param array|string|null $value * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:148
/** * Removes a header from the list of headers we track. * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:195
/** * Adds an additional header value to any headers that accept * multiple values (i.e. are an array or implement ArrayAccess) * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:209
/** * Adds a header (not a header value) with the same name. * Use this only when you set multiple headers with the same name, * typically, for `Set-Cookie`. * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:229
/** * Adds an additional header value to any headers that accept * multiple values (i.e. are an array or implement ArrayAccess) * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:255
/** * Takes a header name in any case, and returns the * normal-case version of the header. */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:270
/** * Sets the HTTP protocol version. * * @return $this * * @throws HTTPException For invalid protocols */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:282
/** * Gets the user's IP address. * * @return string IP address if it can be detected. * If the IP address is not a valid IP address, * then will return '0.0.0.0'. */ Inherited from CodeIgniter\HTTP\Request Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/RequestTrait.php:60
/** * Fetch an item from the $_SERVER array. * * @param array|string|null $index Index for item to be fetched from $_SERVER * @param int|null $filter A filter name to be applied * @param array|int|null $flags * * @return mixed */ Inherited from CodeIgniter\HTTP\Request Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/RequestTrait.php:202
/** * Fetch an item from the $_ENV array. * * @param array|string|null $index Index for item to be fetched from $_ENV * @param int|null $filter A filter name to be applied * @param array|int|null $flags * * @return mixed * * @deprecated 4.4.4 This method does not work from the beginning. Use `env()`. */ Inherited from CodeIgniter\HTTP\Request Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/RequestTrait.php:218
/** * Allows manually setting the value of PHP global, like $_GET, $_POST, etc. * * @param string $name Supergrlobal name (lowercase) * @phpstan-param 'get'|'post'|'request'|'cookie'|'server' $name * @param mixed $value * * @return $this */ Inherited from CodeIgniter\HTTP\Request Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/RequestTrait.php:233
/** * Fetches one or more items from a global, like cookies, get, post, etc. * Can optionally filter the input when you retrieve it by passing in * a filter. * * If $type is an array, it must conform to the input allowed by the * filter_input_array method. * * http://php.net/manual/en/filter.filters.sanitize.php * * @param string $name Supergrlobal name (lowercase) * @phpstan-param 'get'|'post'|'request'|'cookie'|'server' $name * @param array|int|string|null $index * @param int|null $filter Filter constant * @param array|int|null $flags Options * * @return array|bool|float|int|object|string|null */ Inherited from CodeIgniter\HTTP\Request Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/RequestTrait.php:258
/** * Saves a copy of the current state of one of several PHP globals, * so we can retrieve them later. * * @param string $name Superglobal name (lowercase) * @phpstan-param 'get'|'post'|'request'|'cookie'|'server' $name * * @return void */ Inherited from CodeIgniter\HTTP\Request Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/RequestTrait.php:349
/** * Gets the client IP address from the HTTP header. */ Inherited from CodeIgniter\HTTP\Request Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/RequestTrait.php:168
Inherited from CodeIgniter\HTTP\OutgoingRequest Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/OutgoingRequest.php:63
Inherited from CodeIgniter\HTTP\OutgoingRequest Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/OutgoingRequest.php:155
Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:173
Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:180
/** * Constructor * * @param App $config * * @todo Recommend removing reliance on config injection * * @deprecated 4.5.0 The param $config is no longer used. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Response.php:153
/** * Turns "pretend" mode on or off to aid in testing. * * Note that this is not a part of the interface so * should not be relied on outside of internal testing. * * @return $this * * @internal For testing purposes only. * @testTag only available to test code */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Response.php:183
/** * Gets the response status code. * * The status code is a 3-digit integer result code of the server's attempt * to understand and satisfy the request. * * @return int Status code. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Response.php:198
/** * Gets the response reason phrase associated with the status code. * * Because a reason phrase is not a required element in a response * status line, the reason phrase value MAY be null. Implementations MAY * choose to return the default RFC 7231 recommended reason phrase (or those * listed in the IANA HTTP Status Code Registry) for the response's * status code. * * @see http://tools.ietf.org/html/rfc7231#section-6 * @see http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml * * @return string Reason phrase; must return an empty string if none present. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Response.php:221
/** * Returns the Message's body. * * @return string|null */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Message.php:58
/** * Returns an array containing all headers. * * @return array<string, Header> An array of the request headers * * @deprecated Use Message::headers() to make room for PSR-7 * * @TODO Incompatible return value with PSR-7 * * @codeCoverageIgnore */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Message.php:74
/** * Returns a single header object. If multiple headers with the same * name exist, then will return an array of header objects. * * @return array|Header|null * * @deprecated Use Message::header() to make room for PSR-7 * * @TODO Incompatible return value with PSR-7 * * @codeCoverageIgnore */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Message.php:91
/** * Determines whether a header exists. */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Message.php:99
/** * Retrieves a comma-separated string of the values for a single header. * * This method returns all of the header values of the given * case-insensitive header name as a string concatenated together using * a comma. * * NOTE: Not all header values may be appropriately represented using * comma concatenation. For such headers, use getHeader() instead * and supply your own delimiter when concatenating. */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Message.php:117
/** * Returns the HTTP Protocol Version. */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/Message.php:138
/** * Sets the body of the current message. * * @param string $data * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:59
/** * Appends data to the body of the current message. * * @param string $data * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:73
/** * Populates the $headers array with any headers the server knows about. */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:87
/** * Returns an array containing all Headers. * * @return array<string, Header|list<Header>> An array of the Header objects */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:114
/** * Returns a single Header object. If multiple headers with the same * name exist, then will return an array of header objects. * * @param string $name * * @return Header|list<Header>|null */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:134
/** * Sets a header and it's value. * * @param array|string|null $value * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:148
/** * Removes a header from the list of headers we track. * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:195
/** * Adds an additional header value to any headers that accept * multiple values (i.e. are an array or implement ArrayAccess) * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:209
/** * Adds a header (not a header value) with the same name. * Use this only when you set multiple headers with the same name, * typically, for `Set-Cookie`. * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:229
/** * Adds an additional header value to any headers that accept * multiple values (i.e. are an array or implement ArrayAccess) * * @return $this */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:255
/** * Takes a header name in any case, and returns the * normal-case version of the header. */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:270
/** * Sets the HTTP protocol version. * * @return $this * * @throws HTTPException For invalid protocols */ Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:282
/** * Return an instance with the specified status code and, optionally, reason phrase. * * If no reason phrase is specified, will default recommended reason phrase for * the response's status code. * * @see http://tools.ietf.org/html/rfc7231#section-6 * @see http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml * * @param int $code The 3-digit integer result code to set. * @param string $reason The reason phrase to use with the * provided status code; if none is provided, will * default to the IANA name. * * @return $this * * @throws HTTPException For invalid status code arguments. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:78
/** * Sets the date header * * @return $this */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:106
/** * Set the Link Header * * @see http://tools.ietf.org/html/rfc5988 * * @return $this * * @todo Recommend moving to Pager */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:124
/** * Sets the Content Type header for this response with the mime type * and, optionally, the charset. * * @return $this */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:156
/** * Converts the $body into JSON and sets the Content Type header. * * @param array|object|string $body * * @return $this */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:176
/** * Returns the current body, converted to JSON is it isn't already. * * @return string|null * * @throws InvalidArgumentException If the body property is not array. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:190
/** * Converts $body into XML, and sets the correct Content-Type. * * @param array|string $body * * @return $this */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:208
/** * Retrieves the current body into XML and returns it. * * @return bool|string|null * * @throws InvalidArgumentException If the body property is not array. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:222
/** * Handles conversion of the data into the appropriate format, * and sets the correct Content-Type header for our response. * * @param array|object|string $body * @param string $format Valid: json, xml * * @return false|string * * @throws InvalidArgumentException If the body property is not string or array. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:244
/** * Sets the appropriate headers to ensure this response * is not cached by the browsers. * * @return $this * * @todo Recommend researching these directives, might need: 'private', 'no-transform', 'no-store', 'must-revalidate' * * @see DownloadResponse::noCache() */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:274
/** * A shortcut method that allows the developer to set all of the * cache-control headers in one method call. * * The options array is used to provide the cache-control directives * for the header. It might look something like: * * $options = [ * 'max-age' => 300, * 's-maxage' => 900 * 'etag' => 'abcde', * ]; * * Typical options are: * - etag * - last-modified * - max-age * - s-maxage * - private * - public * - must-revalidate * - proxy-revalidate * - no-transform * * @return $this */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:308
/** * Sets the Last-Modified date header. * * $date can be either a string representation of the date or, * preferably, an instance of DateTime. * * @param DateTime|string $date * * @return $this */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:345
/** * Sends the output to the browser. * * @return $this */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:366
/** * Sends the headers of this HTTP response to the browser. * * @return $this */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:388
/** * Sends the Body of the message to the browser. * * @return $this */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:434
/** * Perform a redirect to a new URL, in two flavors: header or location. * * @param string $uri The URI to redirect to * @param int|null $code The type of redirection, defaults to 302 * * @return $this * * @throws HTTPException For invalid status code. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:451
/**
* Set a cookie
*
* Accepts an arbitrary number of binds (up to 7) or an associative
* array in the first parameter containing all the values.
*
* @param array|Cookie|string $name Cookie name / array containing binds / Cookie object
* @param string $value Cookie value
* @param int $expire Cookie expiration time in seconds
* @param string $domain Cookie domain (e.g.: '.yourdomain.com')
* @param string $path Cookie path (default: '/')
* @param string $prefix Cookie name prefix ('': the default prefix)
* @param bool|null $secure Whether to only transfer cookies via SSL
* @param bool|null $httponly Whether only make the cookie accessible via HTTP (no javascript)
* @param string|null $samesite
*
* @return $this
*/
Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:509/** * Returns the `CookieStore` instance. * * @return CookieStore */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:565
/** * Checks to see if the Response has a specified cookie or not. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:573
/** * Returns the cookie * * @param string $prefix Cookie prefix. * '': the default prefix * * @return array<string, Cookie>|Cookie|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:588
/** * Sets a cookie to be deleted when the response is sent. * * @return $this */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:610
/** * Returns all cookies currently set. * * @return array<string, Cookie> */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:653
/** * Actually sets the cookies. * * @return void */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:663
Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:672
/** * Extracted call to `setrawcookie()` in order to run unit tests on it. * * @codeCoverageIgnore */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:701
/** * Extracted call to `setcookie()` in order to run unit tests on it. * * @codeCoverageIgnore */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:711
/** * Force a download. * * Generates the headers that force a download to happen. And * sends the file to the browser. * * @param string $filename The name you want the downloaded file to be named * or the path to the file to send * @param string|null $data The data to be downloaded. Set null if the $filename is the file path * @param bool $setMime Whether to try and send the actual MIME type * * @return DownloadResponse|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:729
Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/ResponseTrait.php:753
Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:173
Inherited from CodeIgniter\HTTP\Message Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/HTTP/MessageTrait.php:180
/** * Stores a reference to the RouteCollection object. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Router/Router.php:144
/** * Finds the controller corresponding to the URI. * * @param string|null $uri URI path relative to baseURL * * @return (Closure(mixed...): (ResponseInterface|string|void))|string Controller classname or Closure * * @throws BadRequestException * @throws PageNotFoundException * @throws RedirectException */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Router/Router.php:197
/** * Returns the filter info for the matched route, if any. * * @return list<string> */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Router/Router.php:241
/** * Returns the name of the matched controller or closure. * * @return (Closure(mixed...): (ResponseInterface|string|void))|string Controller classname or Closure */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Router/Router.php:251
/** * Returns the name of the method to run in the * chosen controller. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Router/Router.php:262
/**
* Returns the 404 Override settings from the Collection.
* If the override is a string, will split to controller/index array.
*
* @return array{string, string}|(Closure(string): (ResponseInterface|string|void))|null
*/
Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Router/Router.php:275/** * Returns the binds that have been matched and collected * during the parsing process as an array, ready to send to * instance->method(...$params). */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Router/Router.php:300
/** * Returns the name of the sub-directory the controller is in, * if any. Relative to APPPATH.'Controllers'. * * Only used when auto-routing is turned on. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Router/Router.php:311
/** * Returns the routing information that was matched for this * request, if a route was defined. * * @return array|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Router/Router.php:326
/** * Returns all options set for the matched route * * @return array|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Router/Router.php:336
/** * Sets the value that should be used to match the index.php file. Defaults * to index.php but this allows you to modify it in case you are using * something like mod_rewrite to remove the page. This allows you to set * it a blank. * * @param string $page */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Router/Router.php:349
/** * Tells the system whether we should translate URI dashes or not * in the URI from a dash to an underscore. * * @deprecated This method should be removed. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Router/Router.php:362
/**
* Returns true/false based on whether the current route contained
* a {locale} placeholder.
*
* @return bool
*/
Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Router/Router.php:379/** * Returns the detected locale, if any, or null. * * @return string */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Router/Router.php:389
/** * Checks Defined Routes. * * Compares the uri string against the routes that the * RouteCollection class defined for us, attempting to find a match. * This method will modify $this->controller, etal as needed. * * @param string $uri The URI path to compare against the routes * * @return bool Whether the route was matched or not. * * @throws RedirectException */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Router/Router.php:407
/** * Replace string `$n` with `$matches[n]` value. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Router/Router.php:541
/** * Checks Auto Routes. * * Attempts to match a URI path against Controllers and directories * found in APPPATH/Controllers, to find a matching route. * * @return void */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Router/Router.php:564
/** * Scans the controller directory, attempting to locate a controller matching the supplied uri $segments * * @param array $segments URI segments * * @return array returns an array of remaining uri segments that don't map onto a directory * * @deprecated this function name does not properly describe its behavior so it has been deprecated * * @codeCoverageIgnore */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Router/Router.php:581
/** * Scans the controller directory, attempting to locate a controller matching the supplied uri $segments * * @param array $segments URI segments * * @return array returns an array of remaining uri segments that don't map onto a directory * * @deprecated Not used. Moved to AutoRouter class. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Router/Router.php:595
/** * Sets the sub-directory that the controller is in. * * @param bool $validate if true, checks to make sure $dir consists of only PSR4 compliant segments * * @return void * * @deprecated This method should be removed. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Router/Router.php:643
/** * Returns true if the supplied $segment string represents a valid PSR-4 compliant namespace/directory segment * * regex comes from https://www.php.net/manual/en/language.variables.basics.php * * @deprecated Moved to AutoRouter class. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Router/Router.php:661
/** * Set request route * * Takes an array of URI segments as input and sets the class/method * to be called. * * @param array $segments URI segments * * @return void */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Router/Router.php:676
/** * Sets the default controller based on the info set in the RouteCollection. * * @deprecated This was an unnecessary method, so it is no longer used. * * @return void */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Router/Router.php:705
/** * @param callable|string $handler */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Router/Router.php:725
/** * Checks disallowed characters */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Router/Router.php:735
Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Cache/ResponseCache.php:52
/** * @return $this */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Cache/ResponseCache.php:60
/** * Generates the cache key to use from the current request. * * @param CLIRequest|IncomingRequest $request * * @internal for testing purposes only */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Cache/ResponseCache.php:74
/** * Caches the response. * * @param CLIRequest|IncomingRequest $request */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Cache/ResponseCache.php:94
/** * Gets the cached response for the request. * * @param CLIRequest|IncomingRequest $request */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/Cache/ResponseCache.php:124
/** * Constructor. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:173
/** * Handles some basic app and environment setup. * * @return void */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:186
/** * Checks system for missing required PHP extensions. * * @return void * * @throws FrameworkException * * @codeCoverageIgnore * * @deprecated 4.5.0 Moved to system/bootstrap.php. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:206
/** * Initializes Kint * * @return void * * @deprecated 4.5.0 Moved to Autoloader. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:234
/** * @deprecated 4.5.0 Moved to Autoloader. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:251
/** * @deprecated 4.5.0 Moved to Autoloader. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:276
/** * Launch the application! * * This is "the loop" if you will. The main entry point into the script * that gets the required class instances, fires off the filters, * tries to route the response, loads the controller and generally * makes all the pieces work together. * * @param bool $returnResponse Used for testing purposes only. * * @return ResponseInterface|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:322
/** * Run required before filters. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:385
/** * Run required after filters. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:401
/** * Invoked via php-cli command? */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:418
/** * Web access? */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:426
/** * Disables Controller Filters. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:434
/** * Handles the main request logic and fires the controller. * * @return ResponseInterface * * @throws PageNotFoundException * @throws RedirectException * * @deprecated $returnResponse is deprecated. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:449
/** * You can load different configurations depending on your * current environment. Setting the environment also influences * things like logging and error reporting. * * This can be set to anything, but default usage is: * * development * testing * production * * @codeCoverageIgnore * * @return void * * @deprecated 4.4.0 No longer used. Moved to index.php and spark. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:565
/** * Load any custom boot files based upon the current environment. * * If no boot file exists, we shouldn't continue because something * is wrong. At the very least, they should have error reporting setup. * * @return void * * @deprecated 4.5.0 Moved to system/bootstrap.php. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:583
/** * Start the Benchmark * * The timer is used to display total script execution both in the * debug toolbar, and potentially on the displayed page. * * @return void */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:605
/** * Sets a Request object to be used for this request. * Used when running certain tests. * * @param CLIRequest|IncomingRequest $request * * @return $this * * @internal Used for testing purposes only. * @testTag */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:627
/** * Get our Request object, (either IncomingRequest or CLIRequest). * * @return void */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:639
/** * Get our Response object, and set some default values, including * the HTTP protocol version and a default successful response. * * @return void */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:664
/** * Force Secure Site Access? If the config value 'forceGlobalSecureRequests' * is true, will enforce that all requests to this site are made through * HTTPS. Will redirect the user to the current page with HTTPS, as well * as set the HTTP Strict Transport Security header for those browsers * that support it. * * @param int $duration How long the Strict Transport Security * should be enforced for this URL. * * @return void * * @deprecated 4.5.0 No longer used. Moved to ForceHTTPS filter. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:690
/** * Determines if a response has been cached for the given URI. * * @return false|ResponseInterface * * @throws Exception * * @deprecated 4.5.0 PageCache required filter is used. No longer used. * @deprecated 4.4.2 The parameter $config is deprecated. No longer used. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:709
/** * Caches the full response from the current request. Used for * full-page caching for very high performance. * * @return bool * * @deprecated 4.4.0 No longer used. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:745
/** * Returns an array with our basic performance stats collected. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:759
/** * Generates the cache name to use for our full-page caching. * * @deprecated 4.4.0 No longer used. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:775
/** * Replaces the elapsed_time and memory_usage tag. * * @deprecated 4.5.0 PerformanceMetrics required filter is used. No longer used. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:795
/** * Try to Route It - As it sounds like, works with the router to * match a route against the current URI. If the route is a * "redirect route", will also handle the redirect. * * @param RouteCollectionInterface|null $routes A collection interface to use in place * of the config file. * * @return list<string>|string|null Route filters, that is, the filters specified in the routes file * * @throws RedirectException */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:816
/** * Determines the path to use for us to try to route to, based * on the CLI/IncomingRequest path. * * @return string * * @deprecated 4.5.0 No longer used. */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:854
/** * Now that everything has been setup, this method attempts to run the * controller method and make the script go. If it's not able to, will * show the appropriate Page Not Found error. * * @return ResponseInterface|string|null */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:866
/** * Instantiates the controller class. * * @return Controller */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:899
/** * Runs the controller, allowing for _remap methods to function. * * CI4 supports three types of requests: * 1. Web: URI segments become parameters, sent to Controllers via Routes, * output controlled by Headers to browser * 2. PHP CLI: accessed by CLI via php public/index.php, arguments become URI segments, * sent to Controllers via Routes, output varies * * @param Controller $class * * @return false|ResponseInterface|string|void */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:924
/** * Displays a 404 Page Not Found error. If set, will try to * call the 404Override controller/method that was set in routing config. * * @return ResponseInterface|void */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:946
/** * Gathers the script output from the buffer, replaces some execution * time tag in the output and displays the debug toolbar, if required. * * @param Cache|null $cacheConfig Deprecated. No longer used. * @param ResponseInterface|string|null $returned * * @deprecated $cacheConfig is deprecated. * * @return void */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:999
/** * If we have a session object to use, store the current URI * as the previous URI. This is called just prior to sending the * response to the client, and will make it available next request. * * This helps provider safer, more reliable previous_url() detection. * * @param string|URI $uri * * @return void */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:1037
/** * Modifies the Request Object to use a different method if a POST * variable called _method is found. * * @return void */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:1080
/** * Sends the output of this request back to the client. * This is what they've been waiting for! * * @return void */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:1105
/** * Exits the application, setting the exit code for CLI-based applications * that might be watching. * * Made into a separate method so that it can be mocked during testing * without actually stopping script execution. * * @param int $code * * @deprecated 4.4.0 No longer Used. Moved to index.php. * * @return void */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:1123
/** * Sets the app context. * * @phpstan-param 'php-cli'|'web' $context * * @return $this */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:1135
Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:1142
Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:1148
/** * Tells the app that the final output should be cached. * * @deprecated 4.4.0 Moved to ResponseCache::setTtl(). No longer used. * * @return void */ Defined in <ROOT>/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php:732
// ^^^ Change this line if you move your application folder$paths = new Config\Paths();// LOAD THE FRAMEWORK BOOTSTRAP FILErequire $paths->systemDirectory . '/Boot.php';exit(CodeIgniter\Boot::bootWeb($paths));
drwxr-xr-x 2414 2398 4096 Jun 22 2025 /home1/visaot48/teste.vistomaxx.com.br/project-root/vendor/codeigniter4/framework/system
/home1/visaot48/teste.vistomaxx.com.br/project-root/app/Config/../../vendor/codeigniter4/framework/system
drwxr-xr-x 2414 2398 4096 Jun 26 2025 /home1/visaot48/teste.vistomaxx.com.br/project-root/app
drwxr-xr-x 2414 2398 4096 Jun 22 2025 /home1/visaot48/teste.vistomaxx.com.br/project-root/writable
drwxr-xr-x 2414 2398 4096 Jun 22 2025 /home1/visaot48/teste.vistomaxx.com.br/project-root/tests
drwxr-xr-x 2414 2398 4096 Jun 24 2025 /home1/visaot48/teste.vistomaxx.com.br/project-root/app/Views
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:80
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:134
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:369
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:374
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:388
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:393
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:398
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:403
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:408
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:413
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:418
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:435
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:454
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:470
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:487
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:503
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:518
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:533
/** * Apply parse_url parts to a URI. * * @param array $parts Array of parse_url parts to apply. */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:543
/** * @param mixed $scheme * * @throws \InvalidArgumentException If the scheme is invalid. */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:578
/** * @param mixed $component * * @throws \InvalidArgumentException If the user info is invalid. */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:592
/** * @param mixed $host * * @throws \InvalidArgumentException If the host is invalid. */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:610
/** * @param mixed $port * * @throws \InvalidArgumentException If the port is invalid. */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:624
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:676
/** * Filters the path of a URI * * @param mixed $path * * @throws \InvalidArgumentException If the path is invalid. */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:690
/** * Filters the query string or fragment of a URI. * * @param mixed $str * * @throws \InvalidArgumentException If the query or fragment is invalid. */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:710
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:723
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:728
/**
* UTF-8 aware \parse_url() replacement.
*
* The internal function produces broken output for non ASCII domain names
* (IDN) when used with locales other than "C".
*
* On the other hand, cURL understands IDN correctly only when UTF-8 locale
* is configured ("C.UTF-8", "en_US.UTF-8", etc.).
*
* @see https://bugs.php.net/bug.php?id=52923
* @see https://www.php.net/manual/en/function.parse-url.php#114817
* @see https://curl.haxx.se/libcurl/c/CURLOPT_URL.html#ENCODING
*
* @return array|false
*/
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:106/** * Composes a URI reference string from its various components. * * Usually this method does not need to be called manually but instead is used indirectly via * `Psr\Http\Message\UriInterface::__toString`. * * PSR-7 UriInterface treats an empty component the same as a missing component as * getQuery(), getFragment() etc. always return a string. This explains the slight * difference to RFC 3986 Section 5.3. * * Another adjustment is that the authority separator is added even when the authority is missing/empty * for the "file" scheme. This is because PHP stream functions like `file_get_contents` only work with * `file:///myfile` but not with `file:/myfile` although they are equivalent according to RFC 3986. But * `file:///` is the more common syntax for the file scheme anyway (Chrome for example redirects to * that format). * * @see https://datatracker.ietf.org/doc/html/rfc3986#section-5.3 */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:167
/** * Whether the URI has the default port of the current scheme. * * `Psr\Http\Message\UriInterface::getPort` may return null or the standard port. This method can be used * independently of the implementation. */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:203
/** * Whether the URI is absolute, i.e. it has a scheme. * * An instance of UriInterface can either be an absolute URI or a relative reference. This method returns true * if it is the former. An absolute URI has a scheme. A relative reference is used to express a URI relative * to another URI, the base URI. Relative references can be divided into several forms: * - network-path references, e.g. '//example.com/path' * - absolute-path references, e.g. '/path' * - relative-path references, e.g. 'subpath' * * @see Uri::isNetworkPathReference * @see Uri::isAbsolutePathReference * @see Uri::isRelativePathReference * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4 */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:224
/** * Whether the URI is a network-path reference. * * A relative reference that begins with two slash characters is termed an network-path reference. * * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4.2 */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:236
/** * Whether the URI is a absolute-path reference. * * A relative reference that begins with a single slash character is termed an absolute-path reference. * * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4.2 */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:248
/** * Whether the URI is a relative-path reference. * * A relative reference that does not begin with a slash character is termed a relative-path reference. * * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4.2 */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:263
/** * Whether the URI is a same-document reference. * * A same-document reference refers to a URI that is, aside from its fragment * component, identical to the base URI. When no base URI is given, only an empty * URI reference (apart from its fragment) is considered a same-document reference. * * @param UriInterface $uri The URI to check * @param UriInterface|null $base An optional base URI to compare against * * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4.4 */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:282
/** * Creates a new URI with a specific query string value removed. * * Any existing query string values that exactly match the provided key are * removed. * * @param UriInterface $uri URI to use as a base. * @param string $key Query string key to remove. */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:305
/** * Creates a new URI with a specific query string value. * * Any existing query string values that exactly match the provided key are * removed and replaced with the given key value pair. * * A value of null will set the query string key without a value, e.g. "key" * instead of "key=value". * * @param UriInterface $uri URI to use as a base. * @param string $key Key to set. * @param string|null $value Value to set */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:325
/** * Creates a new URI with multiple specific query string values. * * It has the same behavior as withQueryValue() but for an associative array of key => value. * * @param UriInterface $uri URI to use as a base. * @param (string|null)[] $keyValueArray Associative array of key and values */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:342
/** * Creates a URI from a hash of `parse_url` components. * * @see https://www.php.net/manual/en/function.parse-url.php * * @throws MalformedUriException If the components do not form a valid URI. */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:360
/** * @param (string|int)[] $keys * * @return string[] */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:645
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Uri.php:662
/**
* This constructor accepts an associative array of options.
*
* - size: (int) If a read stream would otherwise have an indeterminate
* size, but the size is known due to foreknowledge, then you can
* provide that size, in bytes.
* - metadata: (array) Any additional metadata to return when the metadata
* of the stream is accessed.
*
* @param resource $stream Stream resource to wrap.
* @param array{size?: int, metadata?: array} $options Associative array of options.
*
* @throws \InvalidArgumentException if the stream is not a stream resource
*/
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:50/** * Closes the stream when the destructed */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:72
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:77
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:95
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:108
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:118
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:132
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:157
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:162
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:167
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:172
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:181
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:196
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:201
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:217
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:246
/** * @return mixed */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:269
/** * @param string $method HTTP method * @param string|UriInterface $uri URI * @param (string|string[])[] $headers Request headers * @param string|resource|StreamInterface|null $body Request body * @param string $version Protocol version */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Request.php:35
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Request.php:61
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Request.php:78
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Request.php:92
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Request.php:97
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Request.php:106
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Request.php:111
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Request.php:127
/** * @param mixed $method */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Request.php:153
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:27
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:32
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:44
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:49
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:54
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:67
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:72
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:88
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:106
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:122
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:131
/** * @param (string|string[])[] $headers */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:146
/** * @param mixed $value * * @return string[] */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:171
/** * Trims whitespace from the header values. * * Spaces and tabs ought to be excluded by parsers when extracting the field value from a header field. * * header-field = field-name ":" OWS field-value OWS * OWS = *( SP / HTAB ) * * @param mixed[] $values Header values * * @return string[] Trimmed header values * * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2.4 */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:198
/** * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2 * * @param mixed $header */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:220
/** * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2 * * field-value = *( field-content / obs-fold ) * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ] * field-vchar = VCHAR / obs-text * VCHAR = %x21-7E * obs-text = %x80-FF * obs-fold = CRLF 1*( SP / HTAB ) */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:246
/**
* This constructor accepts an associative array of options.
*
* - size: (int) If a read stream would otherwise have an indeterminate
* size, but the size is known due to foreknowledge, then you can
* provide that size, in bytes.
* - metadata: (array) Any additional metadata to return when the metadata
* of the stream is accessed.
*
* @param resource $stream Stream resource to wrap.
* @param array{size?: int, metadata?: array} $options Associative array of options.
*
* @throws \InvalidArgumentException if the stream is not a stream resource
*/
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:50/** * Closes the stream when the destructed */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:72
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:77
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:95
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:108
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:118
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:132
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:157
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:162
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:167
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:172
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:181
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:196
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:201
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:217
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:246
/** * @return mixed */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Stream.php:269
<HTML><HEAD> <TITLE>Access Denied</TITLE> </HEAD><BODY> <H1>Access Denied</H1> You don't have permission to access "http://api-pix.sicredi.com.br/oauth/token?" on this server.<P> Reference #18.56fcda17.1773752023.7a98fd4 <P>https://errors.edgesuite.net/18.56fcda17.1773752023.7a98fd4</P> </BODY> </HTML>
/** * @param int $status Status code * @param (string|string[])[] $headers Response headers * @param string|resource|StreamInterface|null $body Response body * @param string $version Protocol version * @param string|null $reason Reason phrase (when empty a default will be used based on the status code) */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Response.php:94
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Response.php:119
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Response.php:124
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Response.php:129
/** * @param mixed $statusCode */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Response.php:148
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/Response.php:155
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:27
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:32
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:44
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:49
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:54
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:67
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:72
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:88
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:106
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:122
Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:131
/** * @param (string|string[])[] $headers */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:146
/** * @param mixed $value * * @return string[] */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:171
/** * Trims whitespace from the header values. * * Spaces and tabs ought to be excluded by parsers when extracting the field value from a header field. * * header-field = field-name ":" OWS field-value OWS * OWS = *( SP / HTAB ) * * @param mixed[] $values Header values * * @return string[] Trimmed header values * * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2.4 */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:198
/** * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2 * * @param mixed $header */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:220
/** * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2 * * field-value = *( field-content / obs-fold ) * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ] * field-vchar = VCHAR / obs-text * VCHAR = %x21-7E * obs-text = %x80-FF * obs-fold = CRLF 1*( SP / HTAB ) */ Defined in <ROOT>/project-root/vendor/guzzlehttp/psr7/src/MessageTrait.php:246
Inherited from GuzzleHttp\Exception\BadResponseException Defined in <ROOT>/project-root/vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php:13
/** * Current exception and the ones that extend it will always have a response. */ Inherited from GuzzleHttp\Exception\BadResponseException Defined in <ROOT>/project-root/vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php:26
/** * This function narrows the return type from the parent class and does not allow it to be nullable. */ Inherited from GuzzleHttp\Exception\BadResponseException Defined in <ROOT>/project-root/vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php:34
/** * Get the request that caused the exception */ Inherited from GuzzleHttp\Exception\RequestException Defined in <ROOT>/project-root/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:117
/** * Get contextual information about the error from the underlying handler. * * The contents of this array will vary depending on which handler you are * using. It may also be just an empty array. Relying on this data will * couple you to a specific handler, but can give more debug information * when needed. */ Inherited from GuzzleHttp\Exception\RequestException Defined in <ROOT>/project-root/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:146
/** * Wrap non-RequestExceptions with a RequestException */ Defined in <ROOT>/project-root/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:49
/** * Factory method to create a new exception with a normalized error message * * @param RequestInterface $request Request sent * @param ResponseInterface $response Response received * @param \Throwable|null $previous Previous exception * @param array $handlerContext Optional handler context * @param BodySummarizerInterface|null $bodySummarizer Optional body summarizer */ Defined in <ROOT>/project-root/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:63
GuzzleHttp\Exception\ClientException: Client error: `POST https://api-pix.sicredi.com.br/oauth/token?grant_type=client_credentials` resulted in a `403 Forbidden` response:
<HTML><HEAD>
<TITLE>Access Denied</TITLE>
</HEAD><BODY>
<H1>Access Denied</H1>
You don't have permission to access "ht (truncated...)
in /home1/visaot48/teste.vistomaxx.com.br/project-root/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:111
Stack trace:
#0 /home1/visaot48/teste.vistomaxx.com.br/project-root/vendor/guzzlehttp/guzzle/src/Middleware.php(72): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response), NULL, Array, NULL)
#1 /home1/visaot48/teste.vistomaxx.com.br/project-root/vendor/guzzlehttp/promises/src/Promise.php(209): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response))
#2 /home1/visaot48/teste.vistomaxx.com.br/project-root/vendor/guzzlehttp/promises/src/Promise.php(158): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), NULL)
#3 /home1/visaot48/teste.vistomaxx.com.br/project-root/vendor/guzzlehttp/promises/src/TaskQueue.php(52): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
#4 /home1/visaot48/teste.vistomaxx.com.br/project-root/vendor/guzzlehttp/promises/src/Promise.php(251): GuzzleHttp\Promise\TaskQueue->run(true)
#5 /home1/visaot48/teste.vistomaxx.com.br/project-root/vendor/guzzlehttp/promises/src/Promise.php(227): GuzzleHttp\Promise\Promise->invokeWaitFn()
#6 /home1/visaot48/teste.vistomaxx.com.br/project-root/vendor/guzzlehttp/promises/src/Promise.php(272): GuzzleHttp\Promise\Promise->waitIfPending()
#7 /home1/visaot48/teste.vistomaxx.com.br/project-root/vendor/guzzlehttp/promises/src/Promise.php(229): GuzzleHttp\Promise\Promise->invokeWaitList()
#8 /home1/visaot48/teste.vistomaxx.com.br/project-root/vendor/guzzlehttp/promises/src/Promise.php(69): GuzzleHttp\Promise\Promise->waitIfPending()
#9 /home1/visaot48/teste.vistomaxx.com.br/project-root/vendor/guzzlehttp/guzzle/src/Client.php(189): GuzzleHttp\Promise\Promise->wait()
#10 /home1/visaot48/teste.vistomaxx.com.br/project-root/vendor/guzzlehttp/guzzle/src/ClientTrait.php(95): GuzzleHttp\Client->request('POST', '/oauth/token', Array)
#11 /home1/visaot48/teste.vistomaxx.com.br/project-root/app/Libraries/SicrediPix.php(73): GuzzleHttp\Client->post('/oauth/token', Array)
#12 /home1/visaot48/teste.vistomaxx.com.br/project-root/app/Libraries/SicrediPix.php(108): App\Libraries\SicrediPix->getAccessToken()
#13 /home1/visaot48/teste.vistomaxx.com.br/project-root/app/Controllers/PixController.php(27): App\Libraries\SicrediPix->criarCobranca('I6YDBh3Ez8Bn6kc...', 10.0, 'Pagamento Pedid...')
#14 /home1/visaot48/teste.vistomaxx.com.br/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php(933): App\Controllers\PixController->gerar()
#15 /home1/visaot48/teste.vistomaxx.com.br/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php(507): CodeIgniter\CodeIgniter->runController(Object(App\Controllers\PixController))
#16 /home1/visaot48/teste.vistomaxx.com.br/project-root/vendor/codeigniter4/framework/system/CodeIgniter.php(354): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false)
#17 /home1/visaot48/teste.vistomaxx.com.br/project-root/vendor/codeigniter4/framework/system/Boot.php(334): CodeIgniter\CodeIgniter->run()
#18 /home1/visaot48/teste.vistomaxx.com.br/project-root/vendor/codeigniter4/framework/system/Boot.php(67): CodeIgniter\Boot::runCodeIgniter(Object(CodeIgniter\CodeIgniter))
#19 /home1/visaot48/teste.vistomaxx.com.br/index.php(56): CodeIgniter\Boot::bootWeb(Object(Config\Paths))
#20 {main}
-rw-r--r-- 2414 2398 4441 Jun 22 2025 /home1/visaot48/teste.vistomaxx.com.br/project-root/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php
/home1/visaot48/teste.vistomaxx.com.br/project-root/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php
Client error: `POST https://api-pix.sicredi.com.br/oauth/token?grant_type=client_credentials` resulted in a `403 Forbidden` response: <HTML><HEAD> <TITLE>Access Denied</TITLE> </HEAD><BODY> <H1>Access Denied</H1> You don't have permission to access "ht (truncated...)