From 0a9c703f19331bb32a094284343f465a60341dd1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 13 Dec 2021 08:40:41 +0100 Subject: update to 1.0.0 drop patches merged upstream open https://github.com/improved-php-library/http-message/issues/5 version 1.0.0 missing on pecl open https://github.com/improved-php-library/http-message/issues/6 comptibility with psr 1.2.0 add patch for ext 1.2.0 from https://github.com/improved-php-library/http-message/pull/7 --- REFLECTION | 374 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 188 insertions(+), 186 deletions(-) (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION index 3c0f3e7..9526f32 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,11 +1,11 @@ -Extension [ extension #109 http_message version 0.2.2 ] { +Extension [ extension #111 http_message version 1.0.0 ] { - Dependencies { Dependency [ psr (Required) ] } - Classes [9] { - Class [ abstract class HttpMessage\Message implements Psr\Http\Message\MessageInterface ] { + Class [ abstract class HttpMessage\Message implements PsrExt\Http\Message\MessageInterface ] { - Constants [0] { } @@ -17,9 +17,9 @@ Extension [ extension #109 http_message version 0.2.2 ] { } - Properties [3] { - Property [ private $protocolVersion ] - Property [ private $headers ] - Property [ private $body ] + Property [ private $protocolVersion = '1.1' ] + Property [ private $headers = NULL ] + Property [ private $body = NULL ] } - Methods [12] { @@ -29,47 +29,47 @@ Extension [ extension #109 http_message version 0.2.2 ] { } } - Method [ public method getProtocolVersion ] { + Method [ public method getProtocolVersion ] { - Parameters [0] { } } - Method [ public method withProtocolVersion ] { + Method [ public method withProtocolVersion ] { - Parameters [1] { Parameter #0 [ $version ] } } - Method [ public method getHeaders ] { + Method [ public method getHeaders ] { - Parameters [0] { } } - Method [ public method hasHeader ] { + Method [ public method hasHeader ] { - Parameters [1] { Parameter #0 [ $name ] } } - Method [ public method getHeader ] { + Method [ public method getHeader ] { - Parameters [1] { Parameter #0 [ $name ] } } - Method [ public method getHeaderLine ] { + Method [ public method getHeaderLine ] { - Parameters [1] { Parameter #0 [ $name ] } } - Method [ public method withHeader ] { + Method [ public method withHeader ] { - Parameters [2] { Parameter #0 [ $name ] @@ -77,7 +77,7 @@ Extension [ extension #109 http_message version 0.2.2 ] { } } - Method [ public method withAddedHeader ] { + Method [ public method withAddedHeader ] { - Parameters [2] { Parameter #0 [ $name ] @@ -85,20 +85,20 @@ Extension [ extension #109 http_message version 0.2.2 ] { } } - Method [ public method withoutHeader ] { + Method [ public method withoutHeader ] { - Parameters [1] { Parameter #0 [ $name ] } } - Method [ public method getBody ] { + Method [ public method getBody ] { - Parameters [0] { } } - Method [ public method withBody ] { + Method [ public method withBody ] { - Parameters [1] { Parameter #0 [ Psr\Http\Message\StreamInterface $body ] @@ -107,7 +107,7 @@ Extension [ extension #109 http_message version 0.2.2 ] { } } - Class [ class HttpMessage\Request extends HttpMessage\Message implements Psr\Http\Message\MessageInterface, Psr\Http\Message\RequestInterface ] { + Class [ class HttpMessage\Request extends HttpMessage\Message implements PsrExt\Http\Message\MessageInterface, PsrExt\Http\Message\RequestInterface ] { - Constants [0] { } @@ -119,9 +119,9 @@ Extension [ extension #109 http_message version 0.2.2 ] { } - Properties [3] { - Property [ private $requestTarget ] - Property [ private $method ] - Property [ private $uri ] + Property [ private $requestTarget = NULL ] + Property [ private $method = '' ] + Property [ private $uri = NULL ] } - Methods [18] { @@ -131,87 +131,87 @@ Extension [ extension #109 http_message version 0.2.2 ] { } } - Method [ public method getRequestTarget ] { + Method [ public method getRequestTarget ] { - Parameters [0] { } } - Method [ public method withRequestTarget ] { + Method [ public method withRequestTarget ] { - Parameters [1] { Parameter #0 [ $requestTarget ] } } - Method [ public method getMethod ] { + Method [ public method getMethod ] { - Parameters [0] { } } - Method [ public method withMethod ] { + Method [ public method withMethod ] { - Parameters [1] { Parameter #0 [ $method ] } } - Method [ public method getUri ] { + Method [ public method getUri ] { - Parameters [0] { } } - Method [ public method withUri ] { + Method [ public method withUri ] { - Parameters [2] { Parameter #0 [ Psr\Http\Message\UriInterface $uri ] - Parameter #1 [ $preserveHost ] + Parameter #1 [ $preserveHost = ] } } - Method [ public method getProtocolVersion ] { + Method [ public method getProtocolVersion ] { - Parameters [0] { } } - Method [ public method withProtocolVersion ] { + Method [ public method withProtocolVersion ] { - Parameters [1] { Parameter #0 [ $version ] } } - Method [ public method getHeaders ] { + Method [ public method getHeaders ] { - Parameters [0] { } } - Method [ public method hasHeader ] { + Method [ public method hasHeader ] { - Parameters [1] { Parameter #0 [ $name ] } } - Method [ public method getHeader ] { + Method [ public method getHeader ] { - Parameters [1] { Parameter #0 [ $name ] } } - Method [ public method getHeaderLine ] { + Method [ public method getHeaderLine ] { - Parameters [1] { Parameter #0 [ $name ] } } - Method [ public method withHeader ] { + Method [ public method withHeader ] { - Parameters [2] { Parameter #0 [ $name ] @@ -219,7 +219,7 @@ Extension [ extension #109 http_message version 0.2.2 ] { } } - Method [ public method withAddedHeader ] { + Method [ public method withAddedHeader ] { - Parameters [2] { Parameter #0 [ $name ] @@ -227,20 +227,20 @@ Extension [ extension #109 http_message version 0.2.2 ] { } } - Method [ public method withoutHeader ] { + Method [ public method withoutHeader ] { - Parameters [1] { Parameter #0 [ $name ] } } - Method [ public method getBody ] { + Method [ public method getBody ] { - Parameters [0] { } } - Method [ public method withBody ] { + Method [ public method withBody ] { - Parameters [1] { Parameter #0 [ Psr\Http\Message\StreamInterface $body ] @@ -249,7 +249,7 @@ Extension [ extension #109 http_message version 0.2.2 ] { } } - Class [ class HttpMessage\ServerRequest extends HttpMessage\Request implements Psr\Http\Message\RequestInterface, Psr\Http\Message\MessageInterface, Psr\Http\Message\ServerRequestInterface ] { + Class [ class HttpMessage\ServerRequest extends HttpMessage\Request implements PsrExt\Http\Message\RequestInterface, PsrExt\Http\Message\MessageInterface, PsrExt\Http\Message\ServerRequestInterface ] { - Constants [0] { } @@ -261,99 +261,99 @@ Extension [ extension #109 http_message version 0.2.2 ] { } - Properties [6] { - Property [ private $serverParams ] - Property [ private $cookieParams ] - Property [ private $queryParams ] - Property [ private $uploadedFiles ] - Property [ private $parsedBody ] - Property [ private $attributes ] + Property [ private $serverParams = NULL ] + Property [ private $cookieParams = NULL ] + Property [ private $queryParams = NULL ] + Property [ private $uploadedFiles = NULL ] + Property [ private $parsedBody = NULL ] + Property [ private $attributes = NULL ] } - Methods [31] { Method [ public method __construct ] { - Parameters [5] { - Parameter #0 [ array $serverParams ] - Parameter #1 [ array $cookieParams ] - Parameter #2 [ array $queryParams ] - Parameter #3 [ array $postParams ] - Parameter #4 [ array $files ] + Parameter #0 [ array $serverParams = ] + Parameter #1 [ array $cookieParams = ] + Parameter #2 [ array $queryParams = ] + Parameter #3 [ array $postParams = ] + Parameter #4 [ array $files = ] } } - Method [ public method getServerParams ] { + Method [ public method getServerParams ] { - Parameters [0] { } } - Method [ public method getCookieParams ] { + Method [ public method getCookieParams ] { - Parameters [0] { } } - Method [ public method withCookieParams ] { + Method [ public method withCookieParams ] { - Parameters [1] { Parameter #0 [ array $cookies ] } } - Method [ public method getQueryParams ] { + Method [ public method getQueryParams ] { - Parameters [0] { } } - Method [ public method withQueryParams ] { + Method [ public method withQueryParams ] { - Parameters [1] { Parameter #0 [ array $query ] } } - Method [ public method getUploadedFiles ] { + Method [ public method getUploadedFiles ] { - Parameters [0] { } } - Method [ public method withUploadedFiles ] { + Method [ public method withUploadedFiles ] { - Parameters [1] { Parameter #0 [ array $uploadedFiles ] } } - Method [ public method getParsedBody ] { + Method [ public method getParsedBody ] { - Parameters [0] { } } - Method [ public method withParsedBody ] { + Method [ public method withParsedBody ] { - Parameters [1] { Parameter #0 [ $parsedBody ] } } - Method [ public method getAttributes ] { + Method [ public method getAttributes ] { - Parameters [0] { } } - Method [ public method getAttribute ] { + Method [ public method getAttribute ] { - Parameters [2] { Parameter #0 [ $name ] - Parameter #1 [ $default ] + Parameter #1 [ $default = ] } } - Method [ public method withAttribute ] { + Method [ public method withAttribute ] { - Parameters [2] { Parameter #0 [ $name ] @@ -361,94 +361,94 @@ Extension [ extension #109 http_message version 0.2.2 ] { } } - Method [ public method withoutAttribute ] { + Method [ public method withoutAttribute ] { - Parameters [1] { Parameter #0 [ $name ] } } - Method [ public method getRequestTarget ] { + Method [ public method getRequestTarget ] { - Parameters [0] { } } - Method [ public method withRequestTarget ] { + Method [ public method withRequestTarget ] { - Parameters [1] { Parameter #0 [ $requestTarget ] } } - Method [ public method getMethod ] { + Method [ public method getMethod ] { - Parameters [0] { } } - Method [ public method withMethod ] { + Method [ public method withMethod ] { - Parameters [1] { Parameter #0 [ $method ] } } - Method [ public method getUri ] { + Method [ public method getUri ] { - Parameters [0] { } } - Method [ public method withUri ] { + Method [ public method withUri ] { - Parameters [2] { Parameter #0 [ Psr\Http\Message\UriInterface $uri ] - Parameter #1 [ $preserveHost ] + Parameter #1 [ $preserveHost = ] } } - Method [ public method getProtocolVersion ] { + Method [ public method getProtocolVersion ] { - Parameters [0] { } } - Method [ public method withProtocolVersion ] { + Method [ public method withProtocolVersion ] { - Parameters [1] { Parameter #0 [ $version ] } } - Method [ public method getHeaders ] { + Method [ public method getHeaders ] { - Parameters [0] { } } - Method [ public method hasHeader ] { + Method [ public method hasHeader ] { - Parameters [1] { Parameter #0 [ $name ] } } - Method [ public method getHeader ] { + Method [ public method getHeader ] { - Parameters [1] { Parameter #0 [ $name ] } } - Method [ public method getHeaderLine ] { + Method [ public method getHeaderLine ] { - Parameters [1] { Parameter #0 [ $name ] } } - Method [ public method withHeader ] { + Method [ public method withHeader ] { - Parameters [2] { Parameter #0 [ $name ] @@ -456,7 +456,7 @@ Extension [ extension #109 http_message version 0.2.2 ] { } } - Method [ public method withAddedHeader ] { + Method [ public method withAddedHeader ] { - Parameters [2] { Parameter #0 [ $name ] @@ -464,20 +464,20 @@ Extension [ extension #109 http_message version 0.2.2 ] { } } - Method [ public method withoutHeader ] { + Method [ public method withoutHeader ] { - Parameters [1] { Parameter #0 [ $name ] } } - Method [ public method getBody ] { + Method [ public method getBody ] { - Parameters [0] { } } - Method [ public method withBody ] { + Method [ public method withBody ] { - Parameters [1] { Parameter #0 [ Psr\Http\Message\StreamInterface $body ] @@ -486,7 +486,7 @@ Extension [ extension #109 http_message version 0.2.2 ] { } } - Class [ class HttpMessage\Response extends HttpMessage\Message implements Psr\Http\Message\MessageInterface, Psr\Http\Message\ResponseInterface ] { + Class [ class HttpMessage\Response extends HttpMessage\Message implements PsrExt\Http\Message\MessageInterface, PsrExt\Http\Message\ResponseInterface ] { - Constants [0] { } @@ -498,28 +498,28 @@ Extension [ extension #109 http_message version 0.2.2 ] { } - Properties [2] { - Property [ private $statusCode ] - Property [ private $reasonPhrase ] + Property [ private $statusCode = 0 ] + Property [ private $reasonPhrase = '' ] } - Methods [15] { - Method [ public method getStatusCode ] { + Method [ public method getStatusCode ] { - Parameters [0] { } } - Method [ public method getReasonPhrase ] { + Method [ public method getReasonPhrase ] { - Parameters [0] { } } - Method [ public method withStatus ] { + Method [ public method withStatus ] { - Parameters [2] { Parameter #0 [ $code ] - Parameter #1 [ $reasonPhrase ] + Parameter #1 [ $reasonPhrase = ] } } @@ -529,47 +529,47 @@ Extension [ extension #109 http_message version 0.2.2 ] { } } - Method [ public method getProtocolVersion ] { + Method [ public method getProtocolVersion ] { - Parameters [0] { } } - Method [ public method withProtocolVersion ] { + Method [ public method withProtocolVersion ] { - Parameters [1] { Parameter #0 [ $version ] } } - Method [ public method getHeaders ] { + Method [ public method getHeaders ] { - Parameters [0] { } } - Method [ public method hasHeader ] { + Method [ public method hasHeader ] { - Parameters [1] { Parameter #0 [ $name ] } } - Method [ public method getHeader ] { + Method [ public method getHeader ] { - Parameters [1] { Parameter #0 [ $name ] } } - Method [ public method getHeaderLine ] { + Method [ public method getHeaderLine ] { - Parameters [1] { Parameter #0 [ $name ] } } - Method [ public method withHeader ] { + Method [ public method withHeader ] { - Parameters [2] { Parameter #0 [ $name ] @@ -577,7 +577,7 @@ Extension [ extension #109 http_message version 0.2.2 ] { } } - Method [ public method withAddedHeader ] { + Method [ public method withAddedHeader ] { - Parameters [2] { Parameter #0 [ $name ] @@ -585,20 +585,20 @@ Extension [ extension #109 http_message version 0.2.2 ] { } } - Method [ public method withoutHeader ] { + Method [ public method withoutHeader ] { - Parameters [1] { Parameter #0 [ $name ] } } - Method [ public method getBody ] { + Method [ public method getBody ] { - Parameters [0] { } } - Method [ public method withBody ] { + Method [ public method withBody ] { - Parameters [1] { Parameter #0 [ Psr\Http\Message\StreamInterface $body ] @@ -607,7 +607,7 @@ Extension [ extension #109 http_message version 0.2.2 ] { } } - Class [ class HttpMessage\Stream implements Psr\Http\Message\StreamInterface ] { + Class [ class HttpMessage\Stream implements PsrExt\Http\Message\StreamInterface ] { - Constants [0] { } @@ -619,115 +619,116 @@ Extension [ extension #109 http_message version 0.2.2 ] { } - Properties [1] { - Property [ private $stream ] + Property [ private $stream = NULL ] } - Methods [16] { Method [ public method __construct ] { - Parameters [1] { - Parameter #0 [ $uri ] + Parameter #0 [ $uri = ] } } - Method [ public method __toString ] { + Method [ public method __toString ] { - Parameters [0] { } + - Return [ string ] } - Method [ public method close ] { + Method [ public method close ] { - Parameters [0] { } } - Method [ public method detach ] { + Method [ public method detach ] { - Parameters [0] { } } - Method [ public method getSize ] { + Method [ public method getSize ] { - Parameters [0] { } } - Method [ public method tell ] { + Method [ public method tell ] { - Parameters [0] { } } - Method [ public method eof ] { + Method [ public method eof ] { - Parameters [0] { } } - Method [ public method isSeekable ] { + Method [ public method isSeekable ] { - Parameters [0] { } } - Method [ public method seek ] { + Method [ public method seek ] { - Parameters [2] { Parameter #0 [ $offset ] - Parameter #1 [ $whence ] + Parameter #1 [ $whence = ] } } - Method [ public method rewind ] { + Method [ public method rewind ] { - Parameters [0] { } } - Method [ public method isWritable ] { + Method [ public method isWritable ] { - Parameters [0] { } } - Method [ public method write ] { + Method [ public method write ] { - Parameters [1] { Parameter #0 [ $string ] } } - Method [ public method isReadable ] { + Method [ public method isReadable ] { - Parameters [0] { } } - Method [ public method read ] { + Method [ public method read ] { - Parameters [1] { Parameter #0 [ $length ] } } - Method [ public method getContents ] { + Method [ public method getContents ] { - Parameters [0] { } } - Method [ public method getMetadata ] { + Method [ public method getMetadata ] { - Parameters [1] { - Parameter #0 [ $key ] + Parameter #0 [ $key = ] } } } } - Class [ class HttpMessage\Uri implements Psr\Http\Message\UriInterface ] { + Class [ class HttpMessage\Uri implements PsrExt\Http\Message\UriInterface ] { - Constants [0] { } @@ -739,121 +740,122 @@ Extension [ extension #109 http_message version 0.2.2 ] { } - Properties [7] { - Property [ private $scheme ] - Property [ private $userInfo ] - Property [ private $host ] - Property [ private $port ] - Property [ private $path ] - Property [ private $query ] - Property [ private $fragment ] + Property [ private $scheme = '' ] + Property [ private $userInfo = '' ] + Property [ private $host = '' ] + Property [ private $port = NULL ] + Property [ private $path = '' ] + Property [ private $query = '' ] + Property [ private $fragment = '' ] } - Methods [17] { Method [ public method __construct ] { - Parameters [1] { - Parameter #0 [ string $uri ] + Parameter #0 [ string $uri = ] } } - Method [ public method __toString ] { + Method [ public method __toString ] { - Parameters [0] { } + - Return [ string ] } - Method [ public method getScheme ] { + Method [ public method getScheme ] { - Parameters [0] { } } - Method [ public method withScheme ] { + Method [ public method withScheme ] { - Parameters [1] { Parameter #0 [ $scheme ] } } - Method [ public method getAuthority ] { + Method [ public method getAuthority ] { - Parameters [0] { } } - Method [ public method getUserInfo ] { + Method [ public method getUserInfo ] { - Parameters [0] { } } - Method [ public method withUserInfo ] { + Method [ public method withUserInfo ] { - Parameters [2] { Parameter #0 [ $user ] - Parameter #1 [ $password ] + Parameter #1 [ $password = ] } } - Method [ public method getHost ] { + Method [ public method getHost ] { - Parameters [0] { } } - Method [ public method withHost ] { + Method [ public method withHost ] { - Parameters [1] { Parameter #0 [ $host ] } } - Method [ public method getPort ] { + Method [ public method getPort ] { - Parameters [0] { } } - Method [ public method withPort ] { + Method [ public method withPort ] { - Parameters [1] { Parameter #0 [ $port ] } } - Method [ public method getPath ] { + Method [ public method getPath ] { - Parameters [0] { } } - Method [ public method withPath ] { + Method [ public method withPath ] { - Parameters [1] { Parameter #0 [ $path ] } } - Method [ public method getQuery ] { + Method [ public method getQuery ] { - Parameters [0] { } } - Method [ public method withQuery ] { + Method [ public method withQuery ] { - Parameters [1] { Parameter #0 [ $query ] } } - Method [ public method getFragment ] { + Method [ public method getFragment ] { - Parameters [0] { } } - Method [ public method withFragment ] { + Method [ public method withFragment ] { - Parameters [1] { Parameter #0 [ $fragment ] @@ -862,7 +864,7 @@ Extension [ extension #109 http_message version 0.2.2 ] { } } - Class [ class HttpMessage\UploadedFile implements Psr\Http\Message\UploadedFileInterface ] { + Class [ class HttpMessage\UploadedFile implements PsrExt\Http\Message\UploadedFileInterface ] { - Constants [0] { } @@ -874,14 +876,14 @@ Extension [ extension #109 http_message version 0.2.2 ] { } - Properties [8] { - Property [ private $stream ] - Property [ private $file ] - Property [ private $size ] - Property [ private $error ] - Property [ private $clientFilename ] - Property [ private $clientMediaType ] - Property [ private $moved ] - Property [ private $checkUploaded ] + Property [ private $stream = NULL ] + Property [ private $file = NULL ] + Property [ private $size = NULL ] + Property [ private $error = 0 ] + Property [ private $clientFilename = NULL ] + Property [ private $clientMediaType = NULL ] + Property [ private $moved = false ] + Property [ private $checkUploaded = false ] } - Methods [7] { @@ -889,46 +891,46 @@ Extension [ extension #109 http_message version 0.2.2 ] { - Parameters [6] { Parameter #0 [ $fileOrStream ] - Parameter #1 [ int or NULL $size ] - Parameter #2 [ int $error ] - Parameter #3 [ string or NULL $clientFilename ] - Parameter #4 [ string or NULL $clientMediaType ] - Parameter #5 [ $checkUploaded ] + Parameter #1 [ ?int $size = ] + Parameter #2 [ int $error = ] + Parameter #3 [ ?string $clientFilename = ] + Parameter #4 [ ?string $clientMediaType = ] + Parameter #5 [ $checkUploaded = ] } } - Method [ public method getStream ] { + Method [ public method getStream ] { - Parameters [0] { } } - Method [ public method moveTo ] { + Method [ public method moveTo ] { - Parameters [1] { Parameter #0 [ $targetPath ] } } - Method [ public method getSize ] { + Method [ public method getSize ] { - Parameters [0] { } } - Method [ public method getError ] { + Method [ public method getError ] { - Parameters [0] { } } - Method [ public method getClientFilename ] { + Method [ public method getClientFilename ] { - Parameters [0] { } } - Method [ public method getClientMediaType ] { + Method [ public method getClientMediaType ] { - Parameters [0] { } @@ -936,7 +938,7 @@ Extension [ extension #109 http_message version 0.2.2 ] { } } - Class [ class HttpMessage\Factory implements Psr\Http\Message\RequestFactoryInterface, Psr\Http\Message\ResponseFactoryInterface, Psr\Http\Message\ServerRequestFactoryInterface, Psr\Http\Message\StreamFactoryInterface, Psr\Http\Message\UploadedFileFactoryInterface, Psr\Http\Message\UriFactoryInterface ] { + Class [ class HttpMessage\Factory implements PsrExt\Http\Message\RequestFactoryInterface, PsrExt\Http\Message\ResponseFactoryInterface, PsrExt\Http\Message\ServerRequestFactoryInterface, PsrExt\Http\Message\StreamFactoryInterface, PsrExt\Http\Message\UploadedFileFactoryInterface, PsrExt\Http\Message\UriFactoryInterface ] { - Constants [0] { } @@ -951,7 +953,7 @@ Extension [ extension #109 http_message version 0.2.2 ] { } - Methods [8] { - Method [ public method createRequest ] { + Method [ public method createRequest ] { - Parameters [2] { Parameter #0 [ string $method ] @@ -960,43 +962,43 @@ Extension [ extension #109 http_message version 0.2.2 ] { - Return [ Psr\Http\Message\RequestInterface ] } - Method [ public method createResponse ] { + Method [ public method createResponse ] { - Parameters [2] { - Parameter #0 [ int $code ] - Parameter #1 [ string $reasonPhrase ] + Parameter #0 [ int $code = ] + Parameter #1 [ string $reasonPhrase = ] } - Return [ Psr\Http\Message\ResponseInterface ] } - Method [ public method createServerRequest ] { + Method [ public method createServerRequest ] { - Parameters [3] { Parameter #0 [ string $method ] Parameter #1 [ $uri ] - Parameter #2 [ array $serverParams ] + Parameter #2 [ array $serverParams = ] } - Return [ Psr\Http\Message\ServerRequestInterface ] } - Method [ public method createStream ] { + Method [ public method createStream ] { - Parameters [1] { - Parameter #0 [ string $content ] + Parameter #0 [ string $content = ] } - Return [ Psr\Http\Message\StreamInterface ] } - Method [ public method createStreamFromFile ] { + Method [ public method createStreamFromFile ] { - Parameters [2] { Parameter #0 [ string $filename ] - Parameter #1 [ string $mode ] + Parameter #1 [ string $mode = ] } - Return [ Psr\Http\Message\StreamInterface ] } - Method [ public method createStreamFromResource ] { + Method [ public method createStreamFromResource ] { - Parameters [1] { Parameter #0 [ $resouce ] @@ -1004,22 +1006,22 @@ Extension [ extension #109 http_message version 0.2.2 ] { - Return [ Psr\Http\Message\StreamInterface ] } - Method [ public method createUploadedFile ] { + Method [ public method createUploadedFile ] { - Parameters [5] { Parameter #0 [ Psr\Http\Message\StreamInterface $stream ] - Parameter #1 [ int or NULL $size ] - Parameter #2 [ int $error ] - Parameter #3 [ string or NULL $clientFilename ] - Parameter #4 [ string or NULL $clientMediaType ] + Parameter #1 [ ?int $size = ] + Parameter #2 [ int $error = ] + Parameter #3 [ ?string $clientFilename = ] + Parameter #4 [ ?string $clientMediaType = ] } - Return [ Psr\Http\Message\UploadedFileInterface ] } - Method [ public method createUri ] { + Method [ public method createUri ] { - Parameters [1] { - Parameter #0 [ string $uri ] + Parameter #0 [ string $uri = ] } - Return [ Psr\Http\Message\UriInterface ] } @@ -1044,7 +1046,7 @@ Extension [ extension #109 http_message version 0.2.2 ] { Method [ public method emit ] { - Parameters [1] { - Parameter #0 [ Psr\Http\Message\ResponseInterface $serverParams ] + Parameter #0 [ Psr\Http\Message\ResponseInterface $serverParams = ] } } } -- cgit