Lines Matching refs:static
308 There are various static methods available under the `GuzzleHttp\Psr7` namespace.
313 `public static function toString(MessageInterface $message): string`
325 `public static function bodySummary(MessageInterface $message, int $truncateAt = 120): string|null`
334 `public static function rewindBody(MessageInterface $message): void`
344 `public static function parseMessage(string $message): array`
355 `public static function parseRequestUri(string $path, array $headers): string`
362 `public static function parseRequest(string $message): Request`
369 `public static function parseResponse(string $message): Response`
376 `public static function parse(string|array $header): array`
386 `public static function normalize(string|array $header): array`
394 `public static function parse(string $str, int|bool $urlEncoding = true): array`
406 `public static function build(array $params, int|false $encoding = PHP_QUERY_RFC3986): string`
417 `public static function caselessRemove(iterable<string> $keys, $keys, array $data): array`
424 `public static function copyToStream(StreamInterface $source, StreamInterface $dest, int $maxLen = …
432 `public static function copyToString(StreamInterface $stream, int $maxLen = -1): string`
440 `public static function hash(StreamInterface $stream, string $algo, bool $rawOutput = false): strin…
450 `public static function modifyRequest(RequestInterface $request, array $changes): RequestInterface`
468 `public static function readLine(StreamInterface $stream, int $maxLength = null): string`
475 `public static function streamFor(resource|string|null|int|float|bool|StreamInterface|callable|\Ite…
523 `public static function tryFopen(string $filename, string $mode): resource`
533 `public static function uriFor(string|UriInterface $uri): UriInterface`
544 `public static function fromFilename(string $filename): string|null`
551 `public static function fromExtension(string $extension): string|null`
558 The static API was first introduced in 1.7.0, in order to mitigate problems with functions conflict…
589 this library also provides additional functionality when working with URIs as static methods.
606 `public static function isAbsolute(UriInterface $uri): bool`
612 `public static function isNetworkPathReference(UriInterface $uri): bool`
619 `public static function isAbsolutePathReference(UriInterface $uri): bool`
626 `public static function isRelativePathReference(UriInterface $uri): bool`
633 `public static function isSameDocumentReference(UriInterface $uri, UriInterface $base = null): bool`
645 `public static function isDefaultPort(UriInterface $uri): bool`
652 `public static function composeComponents($scheme, $authority, $path, $query, $fragment): string`
660 `public static function fromParts(array $parts): UriInterface`
667 `public static function withQueryValue(UriInterface $uri, $key, $value): UriInterface`
675 `public static function withQueryValues(UriInterface $uri, array $keyValueArray): UriInterface`
682 `public static function withoutQueryValue(UriInterface $uri, $key): UriInterface`
695 `public static function resolve(UriInterface $base, UriInterface $rel): UriInterface`
701 `public static function removeDotSegments(string $path): string`
708 `public static function relativize(UriInterface $base, UriInterface $target): UriInterface`
734 `public static function normalize(UriInterface $uri, $flags = self::PRESERVING_NORMALIZATIONS): Uri…
804 `public static function isEquivalent(UriInterface $uri1, UriInterface $uri2, $normalizations = self…