Метод | Описание | |
---|---|---|
__construct ( Closure $getMethodClosure, Closure $getHeaderClosure, Closure $getQueryParamsClosure ) | ||
getAttribute ( $name, $default = null ) | ||
getAttributes ( ) | ||
getBody ( ) | ||
getCookieParams ( ) | ||
getHeader ( $name ) | ||
getHeaderLine ( $name ) | ||
getHeaders ( ) | ||
getMethod ( ) | ||
getParsedBody ( ) | ||
getProtocolVersion ( ) | ||
getQueryParams ( ) | ||
getRequestTarget ( ) | ||
getServerParams ( ) | ||
getUploadedFiles ( ) | ||
getUri ( ) | ||
hasHeader ( $name ) | ||
withAddedHeader ( $name, $value ) | ||
withAttribute ( $name, $value ) | ||
withBody ( Psr\Http\Message\StreamInterface $body ) | ||
withCookieParams ( array $cookies ) | ||
withHeader ( $name, $value ) | ||
withMethod ( $method ) | ||
withParsedBody ( $data ) | ||
withProtocolVersion ( $version ) | ||
withQueryParams ( array $query ) | ||
withRequestTarget ( $requestTarget ) | ||
withUploadedFiles ( array $uploadedFiles ) | ||
withUri ( Psr\Http\Message\UriInterface $uri, $preserveHost = false ) | ||
withoutAttribute ( $name ) | ||
withoutHeader ( $name ) |
public withBody ( Psr\Http\Message\StreamInterface $body ) | ||
$body | Psr\Http\Message\StreamInterface |
public withUploadedFiles ( array $uploadedFiles ) | ||
$uploadedFiles | array |
public withUri ( Psr\Http\Message\UriInterface $uri, $preserveHost = false ) | ||
$uri | Psr\Http\Message\UriInterface |