Lines Matching refs:string

5 functionality like query string parsing.
313 `public static function toString(MessageInterface $message): string`
315 Returns the string representation of an HTTP message.
325 `public static function bodySummary(MessageInterface $message, int $truncateAt = 120): string|null`
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`
364 Parses a request message string into a request object.
369 `public static function parseResponse(string $message): Response`
371 Parses a response message string into a response object.
376 `public static function parse(string|array $header): array`
381 contains a key, this function will inject a key with a '' string value.
386 `public static function normalize(string|array $header): array`
394 `public static function parse(string $str, int|bool $urlEncoding = true): array`
396 Parse a query string into an associative array.
406 `public static function build(array $params, int|false $encoding = PHP_QUERY_RFC3986): string`
408 Build a query string from an array of key value pairs.
411 string. This function does not modify the provided keys when an array is
417 `public static function caselessRemove(iterable<string> $keys, $keys, array $data): array`
432 `public static function copyToString(StreamInterface $stream, int $maxLen = -1): string`
434 Copy the contents of a stream into a string until the given number of
440 …public static function hash(StreamInterface $stream, string $algo, bool $rawOutput = false): strin…
457 - method: (string) Changes the HTTP method.
462 - query: (string) Set the query string value of the URI.
463 - version: (string) Set the protocol version.
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…
487 - `string`: Creates a stream object that uses the given string as the contents.
496 the object will be cast to a string and then a stream will be returned that
497 uses the string value.
523 `public static function tryFopen(string $filename, string $mode): resource`
533 `public static function uriFor(string|UriInterface $uri): UriInterface`
537 This function accepts a string or UriInterface and returns a
544 `public static function fromFilename(string $filename): string|null`
551 `public static function fromExtension(string $extension): string|null`
652 `public static function composeComponents($scheme, $authority, $path, $query, $fragment): string`
654 Composes a URI reference string from its various components according to
669 Creates a new URI with a specific query string value. Any existing query string values that exactly…
670 …y are removed and replaced with the given key value pair. A value of null will set the query string
677 Creates a new URI with multiple query string values. It has the same behavior as `withQueryValue()`…
684 Creates a new URI with a specific query string value removed. Any existing query string values that…
701 `public static function removeDotSegments(string $path): string`
713 (string) $target === (string) UriResolver::resolve($base, UriResolver::relativize($base, $target))