From ce157c4f0968237e879df689a7092cefa2daba7f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 5 Sep 2019 07:30:36 +0200 Subject: v0.2.0 --- REFLECTION | 182 +++++++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 130 insertions(+), 52 deletions(-) (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION index 6cd3bf9..a8b5afb 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,10 +1,10 @@ -Extension [ extension #191 http_message version 0.1.1 ] { +Extension [ extension #191 http_message version 0.2.0 ] { - Dependencies { Dependency [ psr (Required) ] } - - Classes [7] { + - Classes [8] { Class [ abstract class HttpMessage\Message implements Psr\Http\Message\MessageInterface ] { - Constants [0] { @@ -17,9 +17,9 @@ Extension [ extension #191 http_message version 0.1.1 ] { } - Properties [3] { - Property [ protected $protocolVersion ] - Property [ protected $headers ] - Property [ protected $body ] + Property [ private $protocolVersion ] + Property [ private $headers ] + Property [ private $body ] } - Methods [12] { @@ -118,13 +118,10 @@ Extension [ extension #191 http_message version 0.1.1 ] { - Static methods [0] { } - - Properties [6] { - Property [ protected $protocolVersion ] - Property [ protected $headers ] - Property [ protected $body ] - Property [ protected $requestTarget ] - Property [ protected $method ] - Property [ protected $uri ] + - Properties [3] { + Property [ private $requestTarget ] + Property [ private $method ] + Property [ private $uri ] } - Methods [18] { @@ -169,7 +166,7 @@ Extension [ extension #191 http_message version 0.1.1 ] { Method [ public method withUri ] { - Parameters [2] { - Parameter #0 [ Psr\Http\Message\UriInterface $logger ] + Parameter #0 [ Psr\Http\Message\UriInterface $uri ] Parameter #1 [ $preserveHost ] } } @@ -263,19 +260,13 @@ Extension [ extension #191 http_message version 0.1.1 ] { - Static methods [0] { } - - Properties [12] { - Property [ protected $protocolVersion ] - Property [ protected $headers ] - Property [ protected $body ] - Property [ protected $requestTarget ] - Property [ protected $method ] - Property [ protected $uri ] - Property [ protected $serverParams ] - Property [ protected $cookieParams ] - Property [ protected $queryParams ] - Property [ protected $uploadedFiles ] - Property [ protected $parsedBody ] - Property [ protected $attributes ] + - Properties [6] { + Property [ private $serverParams ] + Property [ private $cookieParams ] + Property [ private $queryParams ] + Property [ private $uploadedFiles ] + Property [ private $parsedBody ] + Property [ private $attributes ] } - Methods [31] { @@ -412,7 +403,7 @@ Extension [ extension #191 http_message version 0.1.1 ] { Method [ public method withUri ] { - Parameters [2] { - Parameter #0 [ Psr\Http\Message\UriInterface $logger ] + Parameter #0 [ Psr\Http\Message\UriInterface $uri ] Parameter #1 [ $preserveHost ] } } @@ -506,12 +497,9 @@ Extension [ extension #191 http_message version 0.1.1 ] { - Static methods [0] { } - - Properties [5] { - Property [ protected $protocolVersion ] - Property [ protected $headers ] - Property [ protected $body ] - Property [ protected $statusCode ] - Property [ protected $reasonPhrase ] + - Properties [2] { + Property [ private $statusCode ] + Property [ private $reasonPhrase ] } - Methods [15] { @@ -631,14 +619,14 @@ Extension [ extension #191 http_message version 0.1.1 ] { } - Properties [1] { - Property [ protected $stream ] + Property [ private $stream ] } - Methods [16] { Method [ public method __construct ] { - Parameters [1] { - Parameter #0 [ resource $uri ] + Parameter #0 [ $uri ] } } @@ -751,13 +739,13 @@ Extension [ extension #191 http_message version 0.1.1 ] { } - Properties [7] { - Property [ protected $scheme ] - Property [ protected $userInfo ] - Property [ protected $host ] - Property [ protected $port ] - Property [ protected $path ] - Property [ protected $query ] - Property [ protected $fragment ] + Property [ private $scheme ] + Property [ private $userInfo ] + Property [ private $host ] + Property [ private $port ] + Property [ private $path ] + Property [ private $query ] + Property [ private $fragment ] } - Methods [17] { @@ -886,21 +874,21 @@ Extension [ extension #191 http_message version 0.1.1 ] { } - Properties [8] { - Property [ protected $stream ] - Property [ protected $file ] - Property [ protected $size ] - Property [ protected $error ] - Property [ protected $clientFilename ] - Property [ protected $clientMediaType ] - Property [ protected $moved ] - Property [ protected $checkUploaded ] + Property [ private $stream ] + Property [ private $file ] + Property [ private $size ] + Property [ private $error ] + Property [ private $clientFilename ] + Property [ private $clientMediaType ] + Property [ private $moved ] + Property [ private $checkUploaded ] } - Methods [7] { - Method [ public method &__construct ] { + Method [ public method __construct ] { - Parameters [6] { - Parameter #0 [ string or NULL $file ] + Parameter #0 [ $fileOrStream ] Parameter #1 [ integer or NULL $size ] Parameter #2 [ integer $error ] Parameter #3 [ string or NULL $clientFilename ] @@ -947,6 +935,96 @@ Extension [ extension #191 http_message version 0.1.1 ] { } } } + + 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 ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [8] { + Method [ public method createRequest ] { + + - Parameters [2] { + Parameter #0 [ string $method ] + Parameter #1 [ $uri ] + } + - Return [ Psr\Http\Message\RequestInterface ] + } + + Method [ public method createResponse ] { + + - Parameters [2] { + Parameter #0 [ integer $code ] + Parameter #1 [ string $reasonPhrase ] + } + - Return [ Psr\Http\Message\ResponseInterface ] + } + + Method [ public method createServerRequest ] { + + - Parameters [3] { + Parameter #0 [ string $method ] + Parameter #1 [ $uri ] + Parameter #2 [ array $serverParams ] + } + - Return [ Psr\Http\Message\ServerRequestInterface ] + } + + Method [ public method createStream ] { + + - Parameters [1] { + Parameter #0 [ string $content ] + } + - Return [ Psr\Http\Message\StreamInterface ] + } + + Method [ public method createStreamFromFile ] { + + - Parameters [2] { + Parameter #0 [ string $filename ] + Parameter #1 [ string $mode ] + } + - Return [ Psr\Http\Message\StreamInterface ] + } + + Method [ public method createStreamFromResource ] { + + - Parameters [1] { + Parameter #0 [ $resouce ] + } + - Return [ Psr\Http\Message\StreamInterface ] + } + + Method [ public method createUploadedFile ] { + + - Parameters [5] { + Parameter #0 [ Psr\Http\Message\StreamInterface $stream ] + Parameter #1 [ integer or NULL $size ] + Parameter #2 [ integer $error ] + Parameter #3 [ string or NULL $clientFilename ] + Parameter #4 [ string or NULL $clientMediaType ] + } + - Return [ Psr\Http\Message\UploadedFileInterface ] + } + + Method [ public method createUri ] { + + - Parameters [1] { + Parameter #0 [ string $uri ] + } + - Return [ Psr\Http\Message\UriInterface ] + } + } + } } } -- cgit