diff options
Diffstat (limited to 'REFLECTION')
-rw-r--r-- | REFLECTION | 496 |
1 files changed, 364 insertions, 132 deletions
@@ -1,13 +1,11 @@ -Extension [ <persistent> extension #181 request version 1.0.0b2 ] { +Extension [ <persistent> extension #113 request version 2.0.0 ] { - Dependencies { Dependency [ spl (Required) ] - Dependency [ date (Required) ] - Dependency [ json (Optional) ] } - - Classes [2] { - Class [ <internal:request> class ServerRequest ] { + - Classes [5] { + Class [ <internal:request> class SapiRequest ] { - Constants [0] { } @@ -15,34 +13,11 @@ Extension [ <persistent> extension #181 request version 1.0.0b2 ] { - Static properties [0] { } - - Static methods [3] { - Method [ <internal:request> static public method parseAccept ] { - - - Parameters [1] { - Parameter #0 [ <required> string $header ] - } - - Return [ array or NULL ] - } - - Method [ <internal:request> static public method parseContentType ] { - - - Parameters [1] { - Parameter #0 [ <required> string $header ] - } - - Return [ array or NULL ] - } - - Method [ <internal:request> static public method parseDigestAuth ] { - - - Parameters [1] { - Parameter #0 [ <required> string $header ] - } - - Return [ array or NULL ] - } + - Static methods [0] { } - - Properties [31] { - Property [ <default> private $_initialized ] + - Properties [27] { + Property [ <default> private $isUnconstructed ] Property [ <default> public $accept ] Property [ <default> public $acceptCharset ] Property [ <default> public $acceptEncoding ] @@ -57,84 +32,238 @@ Extension [ <persistent> extension #181 request version 1.0.0b2 ] { Property [ <default> public $contentMd5 ] Property [ <default> public $contentType ] Property [ <default> public $cookie ] - Property [ <default> public $env ] Property [ <default> public $files ] Property [ <default> public $forwarded ] Property [ <default> public $forwardedFor ] Property [ <default> public $forwardedHost ] Property [ <default> public $forwardedProto ] - Property [ <default> public $get ] Property [ <default> public $headers ] Property [ <default> public $input ] Property [ <default> public $method ] - Property [ <default> public $params ] - Property [ <default> public $post ] + Property [ <default> public $query ] Property [ <default> public $server ] Property [ <default> public $uploads ] Property [ <default> public $url ] - Property [ <default> public $xhr ] } - - Methods [7] { + - Methods [1] { Method [ <internal:request, ctor> public method __construct ] { + - Parameters [2] { + Parameter #0 [ <required> array $globals ] + Parameter #1 [ <optional> string or NULL $content ] + } + } + } + } + + Interface [ <internal:request> interface SapiResponseInterface ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [23] { + Method [ <internal:request> abstract public method setVersion ] { + - Parameters [1] { - Parameter #0 [ <optional> array or NULL $globals ] + Parameter #0 [ <required> string or NULL $version ] } + - Return [ SapiResponseInterface ] } - Method [ <internal:request> final public method withInput ] { + Method [ <internal:request> abstract public method getVersion ] { + + - Parameters [0] { + } + - Return [ string or NULL ] + } + + Method [ <internal:request> abstract public method setCode ] { - Parameters [1] { - Parameter #0 [ <required> $input ] + Parameter #0 [ <required> int or NULL $code ] } - - Return [ ServerRequest ] + - Return [ SapiResponseInterface ] } - Method [ <internal:request> final public method withParam ] { + Method [ <internal:request> abstract public method getCode ] { + + - Parameters [0] { + } + - Return [ int or NULL ] + } + + Method [ <internal:request> abstract public method addHeader ] { + + - Parameters [2] { + Parameter #0 [ <required> string $label ] + Parameter #1 [ <required> string $value ] + } + - Return [ SapiResponseInterface ] + } + + Method [ <internal:request> abstract public method setHeader ] { - Parameters [2] { - Parameter #0 [ <required> string $key ] - Parameter #1 [ <required> $val ] + Parameter #0 [ <required> string $label ] + Parameter #1 [ <required> string $value ] + } + - Return [ SapiResponseInterface ] + } + + Method [ <internal:request> abstract public method unsetHeader ] { + + - Parameters [1] { + Parameter #0 [ <required> string $label ] } - - Return [ ServerRequest ] + - Return [ SapiResponseInterface ] } - Method [ <internal:request> final public method withParams ] { + Method [ <internal:request> abstract public method getHeader ] { - Parameters [1] { - Parameter #0 [ <required> array $params ] + Parameter #0 [ <required> string $label ] } - - Return [ ServerRequest ] + - Return [ string or NULL ] } - Method [ <internal:request> final public method withoutParam ] { + Method [ <internal:request> abstract public method hasHeader ] { - Parameters [1] { - Parameter #0 [ <required> string $key ] + Parameter #0 [ <required> string $label ] + } + - Return [ bool ] + } + + Method [ <internal:request> abstract public method unsetHeaders ] { + + - Parameters [0] { + } + - Return [ SapiResponseInterface ] + } + + Method [ <internal:request> abstract public method getHeaders ] { + + - Parameters [0] { } - - Return [ ServerRequest ] + - Return [ array or NULL ] } - Method [ <internal:request> final public method withoutParams ] { + Method [ <internal:request> abstract public method getCookie ] { - Parameters [1] { - Parameter #0 [ <required> array or NULL $keys ] + Parameter #0 [ <required> string $name ] } - - Return [ ServerRequest ] + - Return [ array or NULL ] } - Method [ <internal:request> final public method withUrl ] { + Method [ <internal:request> abstract public method hasCookie ] { - Parameters [1] { - Parameter #0 [ <required> array $url ] + Parameter #0 [ <required> string $name ] } - - Return [ ServerRequest ] + - Return [ bool ] + } + + Method [ <internal:request> abstract public method setCookie ] { + + - Parameters [7] { + Parameter #0 [ <required> string $name ] + Parameter #1 [ <optional> string $value ] + Parameter #2 [ <optional> $expires_or_options ] + Parameter #3 [ <optional> string $path ] + Parameter #4 [ <optional> string $domain ] + Parameter #5 [ <optional> bool $secure ] + Parameter #6 [ <optional> bool $httponly ] + } + - Return [ SapiResponseInterface ] + } + + Method [ <internal:request> abstract public method setRawCookie ] { + + - Parameters [7] { + Parameter #0 [ <required> string $name ] + Parameter #1 [ <optional> string $value ] + Parameter #2 [ <optional> $expires_or_options ] + Parameter #3 [ <optional> string $path ] + Parameter #4 [ <optional> string $domain ] + Parameter #5 [ <optional> bool $secure ] + Parameter #6 [ <optional> bool $httponly ] + } + - Return [ SapiResponseInterface ] + } + + Method [ <internal:request> abstract public method unsetCookie ] { + + - Parameters [1] { + Parameter #0 [ <required> string $name ] + } + - Return [ SapiResponseInterface ] + } + + Method [ <internal:request> abstract public method unsetCookies ] { + + - Parameters [0] { + } + - Return [ SapiResponseInterface ] + } + + Method [ <internal:request> abstract public method getCookies ] { + + - Parameters [0] { + } + - Return [ array or NULL ] + } + + Method [ <internal:request> abstract public method setContent ] { + + - Parameters [1] { + Parameter #0 [ <required> $content ] + } + - Return [ SapiResponseInterface ] + } + + Method [ <internal:request> abstract public method getContent ] { + + - Parameters [0] { + } + } + + Method [ <internal:request> abstract public method setHeaderCallbacks ] { + + - Parameters [1] { + Parameter #0 [ <required> array $callbacks ] + } + - Return [ SapiResponseInterface ] + } + + Method [ <internal:request> abstract public method addHeaderCallback ] { + + - Parameters [1] { + Parameter #0 [ <required> callable $callback ] + } + - Return [ SapiResponseInterface ] + } + + Method [ <internal:request> abstract public method getHeaderCallbacks ] { + + - Parameters [0] { + } + - Return [ array or NULL ] } } } - Class [ <internal:request> class ServerResponse ] { + Class [ <internal:request> class SapiResponse implements SapiResponseInterface ] { - Constants [0] { } @@ -146,204 +275,307 @@ Extension [ <persistent> extension #181 request version 1.0.0b2 ] { } - Properties [6] { - Property [ <default> protected $version ] - Property [ <default> protected $status ] - Property [ <default> protected $headers ] - Property [ <default> protected $cookies ] - Property [ <default> protected $content ] - Property [ <default> protected $callbacks ] + Property [ <default> private $version ] + Property [ <default> private $code ] + Property [ <default> private $headers ] + Property [ <default> private $cookies ] + Property [ <default> private $content ] + Property [ <default> private $callbacks ] } - - Methods [26] { - Method [ <internal:request, ctor> public method __construct ] { + - Methods [23] { + Method [ <internal:request, prototype SapiResponseInterface> final public method setVersion ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> string or NULL $version ] } + - Return [ SapiResponseInterface ] } - Method [ <internal:request> public method getVersion ] { + Method [ <internal:request, prototype SapiResponseInterface> final public method getVersion ] { - Parameters [0] { } - - Return [ string ] + - Return [ string or NULL ] } - Method [ <internal:request> public method setVersion ] { + Method [ <internal:request, prototype SapiResponseInterface> final public method setCode ] { - Parameters [1] { - Parameter #0 [ <required> string $version ] + Parameter #0 [ <required> int or NULL $code ] } + - Return [ SapiResponseInterface ] } - Method [ <internal:request> public method getStatus ] { + Method [ <internal:request, prototype SapiResponseInterface> final public method getCode ] { - Parameters [0] { } + - Return [ int or NULL ] } - Method [ <internal:request> public method setStatus ] { + Method [ <internal:request, prototype SapiResponseInterface> final public method setHeader ] { - - Parameters [1] { - Parameter #0 [ <required> integer $status ] + - Parameters [2] { + Parameter #0 [ <required> string $label ] + Parameter #1 [ <required> string $value ] } + - Return [ SapiResponseInterface ] } - Method [ <internal:request> public method getHeader ] { + Method [ <internal:request, prototype SapiResponseInterface> final public method addHeader ] { - - Parameters [0] { + - Parameters [2] { + Parameter #0 [ <required> string $label ] + Parameter #1 [ <required> string $value ] } - - Return [ string or NULL ] + - Return [ SapiResponseInterface ] } - Method [ <internal:request> public method getHeaders ] { + Method [ <internal:request, prototype SapiResponseInterface> final public method unsetHeader ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> string $label ] } - - Return [ array ] + - Return [ SapiResponseInterface ] } - Method [ <internal:request> public method setHeader ] { + Method [ <internal:request, prototype SapiResponseInterface> final public method getHeader ] { - - Parameters [2] { + - Parameters [1] { Parameter #0 [ <required> string $label ] - Parameter #1 [ <required> $value ] } + - Return [ string or NULL ] } - Method [ <internal:request> public method addHeader ] { + Method [ <internal:request, prototype SapiResponseInterface> final public method hasHeader ] { - - Parameters [2] { + - Parameters [1] { Parameter #0 [ <required> string $label ] - Parameter #1 [ <required> $value ] } + - Return [ bool ] } - Method [ <internal:request> public method getCookies ] { + Method [ <internal:request, prototype SapiResponseInterface> final public method unsetHeaders ] { - Parameters [0] { } - - Return [ array ] + - Return [ SapiResponseInterface ] } - Method [ <internal:request> public method setCookie ] { + Method [ <internal:request, prototype SapiResponseInterface> final public method getHeaders ] { + + - Parameters [0] { + } + - Return [ array or NULL ] + } + + Method [ <internal:request, prototype SapiResponseInterface> final public method setCookie ] { - Parameters [7] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <required> string $name ] Parameter #1 [ <optional> string $value ] - Parameter #2 [ <optional> integer $expires ] + Parameter #2 [ <optional> $expires_or_options ] Parameter #3 [ <optional> string $path ] Parameter #4 [ <optional> string $domain ] - Parameter #5 [ <optional> $secure ] - Parameter #6 [ <optional> $httponly ] + Parameter #5 [ <optional> bool $secure ] + Parameter #6 [ <optional> bool $httponly ] } + - Return [ SapiResponseInterface ] } - Method [ <internal:request> public method setRawCookie ] { + Method [ <internal:request, prototype SapiResponseInterface> final public method setRawCookie ] { - Parameters [7] { - Parameter #0 [ <required> $name ] + Parameter #0 [ <required> string $name ] Parameter #1 [ <optional> string $value ] - Parameter #2 [ <optional> integer $expires ] + Parameter #2 [ <optional> $expires_or_options ] Parameter #3 [ <optional> string $path ] Parameter #4 [ <optional> string $domain ] - Parameter #5 [ <optional> $secure ] - Parameter #6 [ <optional> $httponly ] + Parameter #5 [ <optional> bool $secure ] + Parameter #6 [ <optional> bool $httponly ] } + - Return [ SapiResponseInterface ] } - Method [ <internal:request> public method getContent ] { + Method [ <internal:request, prototype SapiResponseInterface> final public method unsetCookie ] { + + - Parameters [1] { + Parameter #0 [ <required> string $name ] + } + - Return [ SapiResponseInterface ] + } + + Method [ <internal:request, prototype SapiResponseInterface> final public method unsetCookies ] { - Parameters [0] { } + - Return [ SapiResponseInterface ] } - Method [ <internal:request> public method setContent ] { + Method [ <internal:request, prototype SapiResponseInterface> final public method getCookie ] { - Parameters [1] { - Parameter #0 [ <required> $content ] + Parameter #0 [ <required> string $name ] } + - Return [ array or NULL ] } - Method [ <internal:request> public method setContentJson ] { + Method [ <internal:request, prototype SapiResponseInterface> final public method hasCookie ] { - - Parameters [3] { - Parameter #0 [ <required> $content ] - Parameter #1 [ <optional> integer $options ] - Parameter #2 [ <optional> integer $depth ] + - Parameters [1] { + Parameter #0 [ <required> string $name ] } + - Return [ bool ] } - Method [ <internal:request> public method setContentDownload ] { + Method [ <internal:request, prototype SapiResponseInterface> final public method getCookies ] { - - Parameters [4] { - Parameter #0 [ <required> $fh ] - Parameter #1 [ <required> string $name ] - Parameter #2 [ <optional> string $disposition ] - Parameter #3 [ <optional> array $params ] + - Parameters [0] { } + - Return [ array or NULL ] } - Method [ <internal:request> public method addHeaderCallback ] { + Method [ <internal:request, prototype SapiResponseInterface> final public method setContent ] { - Parameters [1] { - Parameter #0 [ <required> callable $callback ] + Parameter #0 [ <required> $content ] } + - Return [ SapiResponseInterface ] } - Method [ <internal:request> public method setHeaderCallbacks ] { + Method [ <internal:request, prototype SapiResponseInterface> final public method getContent ] { + + - Parameters [0] { + } + } + + Method [ <internal:request, prototype SapiResponseInterface> final public method setHeaderCallbacks ] { - Parameters [1] { Parameter #0 [ <required> array $callbacks ] } + - Return [ SapiResponseInterface ] } - Method [ <internal:request> public method getHeaderCallbacks ] { + Method [ <internal:request, prototype SapiResponseInterface> final public method addHeaderCallback ] { + + - Parameters [1] { + Parameter #0 [ <required> callable $callback ] + } + - Return [ SapiResponseInterface ] + } + + Method [ <internal:request, prototype SapiResponseInterface> final public method getHeaderCallbacks ] { - Parameters [0] { } + - Return [ array or NULL ] } + } + } - Method [ <internal:request> public method date ] { + Class [ <internal:request> class SapiResponseSender ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [6] { + Method [ <internal:request> public method send ] { - Parameters [1] { - Parameter #0 [ <required> $date ] + Parameter #0 [ <required> SapiResponseInterface $response ] } - - Return [ string ] + - Return [ void ] } - Method [ <internal:request> public method send ] { + Method [ <internal:request> public method runHeaderCallbacks ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> SapiResponseInterface $response ] } + - Return [ void ] } - Method [ <internal:request> protected method runHeaderCallbacks ] { + Method [ <internal:request> public method sendStatus ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> SapiResponseInterface $response ] } + - Return [ void ] } - Method [ <internal:request> protected method sendStatus ] { + Method [ <internal:request> public method sendHeaders ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> SapiResponseInterface $response ] } + - Return [ void ] } - Method [ <internal:request> protected method sendHeaders ] { + Method [ <internal:request> public method sendCookies ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> SapiResponseInterface $response ] } + - Return [ void ] } - Method [ <internal:request> protected method sendCookies ] { + Method [ <internal:request> public method sendContent ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> SapiResponseInterface $response ] } + - Return [ void ] } + } + } - Method [ <internal:request> protected method sendContent ] { + Class [ <internal:request> class SapiUpload ] { - - Parameters [0] { + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [6] { + Property [ <default> private $isUnconstructed ] + Property [ <default> public $name ] + Property [ <default> public $type ] + Property [ <default> public $size ] + Property [ <default> public $tmpName ] + Property [ <default> public $error ] + } + + - Methods [2] { + Method [ <internal:request, ctor> public method __construct ] { + + - Parameters [5] { + Parameter #0 [ <optional> string or NULL $name ] + Parameter #1 [ <optional> string or NULL $type ] + Parameter #2 [ <optional> int or NULL $size ] + Parameter #3 [ <optional> string or NULL $tmpName ] + Parameter #4 [ <optional> int or NULL $error ] + } + } + + Method [ <internal:request> public method move ] { + + - Parameters [1] { + Parameter #0 [ <required> string $destination ] } } } |