--- /dev/null
+<?php
+
+namespace
+{
+
+ class MarkdownDocument
+ {
+ const NOLINKS = 1;
+ const NOIMAGE = 2;
+ const NOPANTS = 4;
+ const NOHTML = 8;
+ const STRICT = 16;
+ const TAGTEXT = 32;
+ const NO_EXT = 64;
+ const CDATA = 128;
+ const NOSUPERSCRIPT = 256;
+ const NORELAXED = 512;
+ const NOTABLES = 1024;
+ const NOSTRIKETHROUGH = 2048;
+ const TOC = 4096;
+ const ONE_COMPAT = 8192;
+ const AUTOLINK = 16384;
+ const SAFELINK = 32768;
+ const NOHEADER = 65536;
+ const TABSTOP = 131072;
+ const NODIVQUOTE = 262144;
+ const NOALPHALIST = 524288;
+ const NODLIST = 1048576;
+ const EMBED = 35;
+ const EXTRA_FOOTNOTE = 2097152;
+
+ protected function __construct() {
+ }
+
+ public static function createFromStream($markdown_stream, $flags = NULL) {
+ }
+
+ public static function createFromString($markdown_doc, $flags = NULL) {
+ }
+
+ final protected function initFromStream($markdown_stream, $flags = NULL) {
+ }
+
+ final protected function initFromString($markdown_doc, $flags = NULL) {
+ }
+
+ public function compile($flags = NULL) {
+ }
+
+ public function isCompiled() {
+ }
+
+ public function dumpTree($out_stream, $title = NULL) {
+ }
+
+ public static function transformFragment($markdown_fragment, $flags = NULL) {
+ }
+
+ public static function writeFragment($markdown_fragment, $out_stream, $flags = NULL) {
+ }
+
+ public function setReferencePrefix($prefix) {
+ }
+
+ public function getTitle() {
+ }
+
+ public function getAuthor() {
+ }
+
+ public function getDate() {
+ }
+
+ public function getHtml() {
+ }
+
+ public function writeHtml($markdown_outstream) {
+ }
+
+ public function writeXhtmlPage($markdown_outstream) {
+ }
+
+ public function getToc() {
+ }
+
+ public function getCss() {
+ }
+
+ public function writeToc($markdown_outstream) {
+ }
+
+ public function writeCss($markdown_outstream) {
+ }
+
+ public function setUrlCallback($callback) {
+ }
+
+ public function setAttributesCallback($callback) {
+ }
+
+ }
+}
+
--- /dev/null
+<?php
+
+namespace
+{
+
+ class Memcached
+ {
+ const LIBMEMCACHED_VERSION_HEX = 16777240;
+ const OPT_COMPRESSION = -1001;
+ const OPT_COMPRESSION_TYPE = -1004;
+ const OPT_PREFIX_KEY = -1002;
+ const OPT_SERIALIZER = -1003;
+ const OPT_STORE_RETRY_COUNT = -1005;
+ const HAVE_IGBINARY = 0;
+ const HAVE_JSON = 0;
+ const HAVE_MSGPACK = 0;
+ const HAVE_SESSION = 1;
+ const HAVE_SASL = 1;
+ const OPT_HASH = 2;
+ const HASH_DEFAULT = 0;
+ const HASH_MD5 = 1;
+ const HASH_CRC = 2;
+ const HASH_FNV1_64 = 3;
+ const HASH_FNV1A_64 = 4;
+ const HASH_FNV1_32 = 5;
+ const HASH_FNV1A_32 = 6;
+ const HASH_HSIEH = 7;
+ const HASH_MURMUR = 8;
+ const OPT_DISTRIBUTION = 9;
+ const DISTRIBUTION_MODULA = 0;
+ const DISTRIBUTION_CONSISTENT = 1;
+ const DISTRIBUTION_VIRTUAL_BUCKET = 6;
+ const OPT_LIBKETAMA_COMPATIBLE = 16;
+ const OPT_LIBKETAMA_HASH = 17;
+ const OPT_TCP_KEEPALIVE = 32;
+ const OPT_BUFFER_WRITES = 10;
+ const OPT_BINARY_PROTOCOL = 18;
+ const OPT_NO_BLOCK = 0;
+ const OPT_TCP_NODELAY = 1;
+ const OPT_SOCKET_SEND_SIZE = 4;
+ const OPT_SOCKET_RECV_SIZE = 5;
+ const OPT_CONNECT_TIMEOUT = 14;
+ const OPT_RETRY_TIMEOUT = 15;
+ const OPT_DEAD_TIMEOUT = 36;
+ const OPT_SEND_TIMEOUT = 19;
+ const OPT_RECV_TIMEOUT = 20;
+ const OPT_POLL_TIMEOUT = 8;
+ const OPT_CACHE_LOOKUPS = 6;
+ const OPT_SERVER_FAILURE_LIMIT = 21;
+ const OPT_AUTO_EJECT_HOSTS = 28;
+ const OPT_HASH_WITH_PREFIX_KEY = 25;
+ const OPT_NOREPLY = 26;
+ const OPT_SORT_HOSTS = 12;
+ const OPT_VERIFY_KEY = 13;
+ const OPT_USE_UDP = 27;
+ const OPT_NUMBER_OF_REPLICAS = 29;
+ const OPT_RANDOMIZE_REPLICA_READ = 30;
+ const OPT_REMOVE_FAILED_SERVERS = 35;
+ const OPT_SERVER_TIMEOUT_LIMIT = 37;
+ const RES_SUCCESS = 0;
+ const RES_FAILURE = 1;
+ const RES_HOST_LOOKUP_FAILURE = 2;
+ const RES_UNKNOWN_READ_FAILURE = 7;
+ const RES_PROTOCOL_ERROR = 8;
+ const RES_CLIENT_ERROR = 9;
+ const RES_SERVER_ERROR = 10;
+ const RES_WRITE_FAILURE = 5;
+ const RES_DATA_EXISTS = 12;
+ const RES_NOTSTORED = 14;
+ const RES_NOTFOUND = 16;
+ const RES_PARTIAL_READ = 18;
+ const RES_SOME_ERRORS = 19;
+ const RES_NO_SERVERS = 20;
+ const RES_END = 21;
+ const RES_ERRNO = 26;
+ const RES_BUFFERED = 32;
+ const RES_TIMEOUT = 31;
+ const RES_BAD_KEY_PROVIDED = 33;
+ const RES_STORED = 15;
+ const RES_DELETED = 22;
+ const RES_STAT = 24;
+ const RES_ITEM = 25;
+ const RES_NOT_SUPPORTED = 28;
+ const RES_FETCH_NOTFINISHED = 30;
+ const RES_SERVER_MARKED_DEAD = 35;
+ const RES_UNKNOWN_STAT_KEY = 36;
+ const RES_INVALID_HOST_PROTOCOL = 34;
+ const RES_MEMORY_ALLOCATION_FAILURE = 17;
+ const RES_CONNECTION_SOCKET_CREATE_FAILURE = 11;
+ const RES_E2BIG = 37;
+ const RES_KEY_TOO_BIG = 39;
+ const RES_SERVER_TEMPORARILY_DISABLED = 47;
+ const RES_SERVER_MEMORY_ALLOCATION_FAILURE = 48;
+ const RES_AUTH_PROBLEM = 40;
+ const RES_AUTH_FAILURE = 41;
+ const RES_AUTH_CONTINUE = 42;
+ const RES_PAYLOAD_FAILURE = -1001;
+ const SERIALIZER_PHP = 1;
+ const SERIALIZER_IGBINARY = 2;
+ const SERIALIZER_JSON = 3;
+ const SERIALIZER_JSON_ARRAY = 4;
+ const SERIALIZER_MSGPACK = 5;
+ const COMPRESSION_FASTLZ = 2;
+ const COMPRESSION_ZLIB = 1;
+ const GET_PRESERVE_ORDER = 1;
+ const GET_ERROR_RETURN_VALUE = false;
+
+ public function __construct($persistent_id = NULL, $callback = NULL) {
+ }
+
+ public function getResultCode() {
+ }
+
+ public function getResultMessage() {
+ }
+
+ public function get($key, $cache_cb = NULL, &$cas_token = NULL, &$udf_flags = NULL) {
+ }
+
+ public function getByKey($server_key, $key, $cache_cb = NULL, &$cas_token = NULL, &$udf_flags = NULL) {
+ }
+
+ public function getMulti(array $keys, &$cas_tokens = NULL, $flags = NULL, &$udf_flags = NULL) {
+ }
+
+ public function getMultiByKey($server_key, array $keys, &$cas_tokens = NULL, $flags = NULL, &$udf_flags = NULL) {
+ }
+
+ public function getDelayed(array $keys, $with_cas = NULL, $value_cb = NULL) {
+ }
+
+ public function getDelayedByKey($server_key, array $keys, $with_cas = NULL, $value_cb = NULL) {
+ }
+
+ public function fetch() {
+ }
+
+ public function fetchAll() {
+ }
+
+ public function set($key, $value, $expiration = NULL, $udf_flags = NULL) {
+ }
+
+ public function setByKey($server_key, $key, $value, $expiration = NULL, $udf_flags = NULL) {
+ }
+
+ public function touch($key, $expiration) {
+ }
+
+ public function touchByKey($server_key, $key, $expiration) {
+ }
+
+ public function setMulti(array $items, $expiration = NULL, $udf_flags = NULL) {
+ }
+
+ public function setMultiByKey($server_key, array $items, $expiration = NULL, $udf_flags = NULL) {
+ }
+
+ public function cas($cas_token, $key, $value, $expiration = NULL, $udf_flags = NULL) {
+ }
+
+ public function casByKey($cas_token, $server_key, $key, $value, $expiration = NULL, $udf_flags = NULL) {
+ }
+
+ public function add($key, $value, $expiration = NULL, $udf_flags = NULL) {
+ }
+
+ public function addByKey($server_key, $key, $value, $expiration = NULL, $udf_flags = NULL) {
+ }
+
+ public function append($key, $value, $expiration = NULL) {
+ }
+
+ public function appendByKey($server_key, $key, $value, $expiration = NULL) {
+ }
+
+ public function prepend($key, $value, $expiration = NULL) {
+ }
+
+ public function prependByKey($server_key, $key, $value, $expiration = NULL) {
+ }
+
+ public function replace($key, $value, $expiration = NULL, $udf_flags = NULL) {
+ }
+
+ public function replaceByKey($server_key, $key, $value, $expiration = NULL, $udf_flags = NULL) {
+ }
+
+ public function delete($key, $time = NULL) {
+ }
+
+ public function deleteMulti($keys, $time = NULL) {
+ }
+
+ public function deleteByKey($server_key, $key, $time = NULL) {
+ }
+
+ public function deleteMultiByKey($server_key, $keys, $time = NULL) {
+ }
+
+ public function increment($key, $offset = NULL, $initial_value = NULL, $expiry = NULL) {
+ }
+
+ public function decrement($key, $offset = NULL, $initial_value = NULL, $expiry = NULL) {
+ }
+
+ public function incrementByKey($server_key, $key, $offset = NULL, $initial_value = NULL, $expiry = NULL) {
+ }
+
+ public function decrementByKey($server_key, $key, $offset = NULL, $initial_value = NULL, $expiry = NULL) {
+ }
+
+ public function addServer($host, $port, $weight = NULL) {
+ }
+
+ public function addServers(array $servers) {
+ }
+
+ public function getServerList() {
+ }
+
+ public function getServerByKey($server_key) {
+ }
+
+ public function resetServerList() {
+ }
+
+ public function quit() {
+ }
+
+ public function flushBuffers() {
+ }
+
+ public function getLastErrorMessage() {
+ }
+
+ public function getLastErrorCode() {
+ }
+
+ public function getLastErrorErrno() {
+ }
+
+ public function getLastDisconnectedServer() {
+ }
+
+ public function getStats() {
+ }
+
+ public function getVersion() {
+ }
+
+ public function getAllKeys() {
+ }
+
+ public function flush($delay = NULL) {
+ }
+
+ public function getOption($option) {
+ }
+
+ public function setOption($option, $value) {
+ }
+
+ public function setOptions($options) {
+ }
+
+ public function setBucket($host_map, $forward_map, $replicas) {
+ }
+
+ public function setSaslAuthData($username, $password) {
+ }
+
+ public function isPersistent() {
+ }
+
+ public function isPristine() {
+ }
+
+ }
+
+ class MemcachedException extends \RuntimeException
+ {
+ }
+}
+
--- /dev/null
+<?php
+
+namespace http
+{
+
+ class Client implements \SplSubject, \Countable
+ {
+ private $observers;
+ protected $options;
+ protected $history;
+ public $recordHistory;
+
+ public function __construct($driver = NULL, $persistent_handle_id = NULL) {
+ }
+
+ public function reset() {
+ }
+
+ public function enqueue(\http\Client\Request $request, $callable = NULL) {
+ }
+
+ public function dequeue(\http\Client\Request $request) {
+ }
+
+ public function requeue(\http\Client\Request $request, $callable = NULL) {
+ }
+
+ public function count() {
+ }
+
+ public function send() {
+ }
+
+ public function once() {
+ }
+
+ public function wait($timeout = NULL) {
+ }
+
+ public function getResponse(\http\Client\Request $request = NULL) {
+ }
+
+ public function getHistory() {
+ }
+
+ public function configure(array $settings) {
+ }
+
+ public function enablePipelining($enable = NULL) {
+ }
+
+ public function enableEvents($enable = NULL) {
+ }
+
+ public function notify(\http\Client\Request $request = NULL) {
+ }
+
+ public function attach(\SplObserver $observer) {
+ }
+
+ public function detach(\SplObserver $observer) {
+ }
+
+ public function getObservers() {
+ }
+
+ public function getProgressInfo(\http\Client\Request $request) {
+ }
+
+ public function getTransferInfo(\http\Client\Request $request) {
+ }
+
+ public function setOptions(array $options = NULL) {
+ }
+
+ public function getOptions() {
+ }
+
+ public function setSslOptions(array $ssl_option = NULL) {
+ }
+
+ public function addSslOptions(array $ssl_options = NULL) {
+ }
+
+ public function getSslOptions() {
+ }
+
+ public function setCookies(array $cookies = NULL) {
+ }
+
+ public function addCookies(array $cookies = NULL) {
+ }
+
+ public function getCookies() {
+ }
+
+ public static function getAvailableDrivers() {
+ }
+
+ public function getAvailableOptions() {
+ }
+
+ public function getAvailableConfiguration() {
+ }
+
+ }
+
+ interface Exception
+ {
+ }
+
+ class Cookie
+ {
+ const PARSE_RAW = 1;
+ const SECURE = 16;
+ const HTTPONLY = 32;
+
+ public function __construct($cookie_string = NULL, $parser_flags = NULL, $allowed_extras = NULL) {
+ }
+
+ public function getCookies() {
+ }
+
+ public function setCookies($cookies = NULL) {
+ }
+
+ public function addCookies($cookies) {
+ }
+
+ public function getCookie($name) {
+ }
+
+ public function setCookie($cookie_name, $cookie_value = NULL) {
+ }
+
+ public function addCookie($cookie_name, $cookie_value) {
+ }
+
+ public function getExtras() {
+ }
+
+ public function setExtras($extras = NULL) {
+ }
+
+ public function addExtras($extras) {
+ }
+
+ public function getExtra($name) {
+ }
+
+ public function setExtra($extra_name, $extra_value = NULL) {
+ }
+
+ public function addExtra($extra_name, $extra_value) {
+ }
+
+ public function getDomain() {
+ }
+
+ public function setDomain($value = NULL) {
+ }
+
+ public function getPath() {
+ }
+
+ public function setPath($value = NULL) {
+ }
+
+ public function getExpires() {
+ }
+
+ public function setExpires($value = NULL) {
+ }
+
+ public function getMaxAge() {
+ }
+
+ public function setMaxAge($value = NULL) {
+ }
+
+ public function getFlags() {
+ }
+
+ public function setFlags($value = NULL) {
+ }
+
+ public function toArray() {
+ }
+
+ public function toString() {
+ }
+
+ public function __toString() {
+ }
+
+ }
+
+ class Env
+ {
+ public static function getRequestHeader($header_name = NULL) {
+ }
+
+ public static function getRequestBody($body_class_name = NULL) {
+ }
+
+ public static function getResponseStatusForCode($code) {
+ }
+
+ public static function getResponseStatusForAllCodes() {
+ }
+
+ public static function getResponseHeader($header_name = NULL) {
+ }
+
+ public static function getResponseCode() {
+ }
+
+ public static function setResponseHeader($header_name, $header_value = NULL, $response_code = NULL, $replace_header = NULL) {
+ }
+
+ public static function setResponseCode($code) {
+ }
+
+ public static function negotiateLanguage($supported, &$result_array = NULL) {
+ }
+
+ public static function negotiateContentType($supported, &$result_array = NULL) {
+ }
+
+ public static function negotiateEncoding($supported, &$result_array = NULL) {
+ }
+
+ public static function negotiateCharset($supported, &$result_array = NULL) {
+ }
+
+ public static function negotiate($params, $supported, $primary_type_separator = NULL, &$result_array = NULL) {
+ }
+
+ }
+
+ class Header implements \Serializable
+ {
+ const MATCH_LOOSE = 0;
+ const MATCH_CASE = 1;
+ const MATCH_WORD = 16;
+ const MATCH_FULL = 32;
+ const MATCH_STRICT = 33;
+
+ public $name;
+ public $value;
+
+ public function __construct($name = NULL, $value = NULL) {
+ }
+
+ public function serialize() {
+ }
+
+ public function __toString() {
+ }
+
+ public function toString() {
+ }
+
+ public function unserialize($serialized) {
+ }
+
+ public function match($value, $flags = NULL) {
+ }
+
+ public function negotiate($supported, &$result = NULL) {
+ }
+
+ public function getParams($param_sep = NULL, $arg_sep = NULL, $val_sep = NULL, $flags = NULL) {
+ }
+
+ public static function parse($string, $header_class = NULL) {
+ }
+
+ }
+
+ class Message implements \Countable, \Serializable, \Iterator
+ {
+ const TYPE_NONE = 0;
+ const TYPE_REQUEST = 1;
+ const TYPE_RESPONSE = 2;
+
+ protected $type;
+ protected $body;
+ protected $requestMethod;
+ protected $requestUrl;
+ protected $responseStatus;
+ protected $responseCode;
+ protected $httpVersion;
+ protected $headers;
+ protected $parentMessage;
+
+ public function __construct($message = NULL, $greedy = NULL) {
+ }
+
+ public function getBody() {
+ }
+
+ public function setBody(\http\Message\Body $body) {
+ }
+
+ public function addBody(\http\Message\Body $body) {
+ }
+
+ public function getHeader($header, $into_class = NULL) {
+ }
+
+ public function setHeader($header, $value = NULL) {
+ }
+
+ public function addHeader($header, $value) {
+ }
+
+ public function getHeaders() {
+ }
+
+ public function setHeaders(array $headers) {
+ }
+
+ public function addHeaders(array $headers, $append = NULL) {
+ }
+
+ public function getType() {
+ }
+
+ public function setType($type) {
+ }
+
+ public function getInfo() {
+ }
+
+ public function setInfo($http_info) {
+ }
+
+ public function getResponseCode() {
+ }
+
+ public function setResponseCode($response_code, $strict = NULL) {
+ }
+
+ public function getResponseStatus() {
+ }
+
+ public function setResponseStatus($response_status) {
+ }
+
+ public function getRequestMethod() {
+ }
+
+ public function setRequestMethod($request_method) {
+ }
+
+ public function getRequestUrl() {
+ }
+
+ public function setRequestUrl($url) {
+ }
+
+ public function getHttpVersion() {
+ }
+
+ public function setHttpVersion($http_version) {
+ }
+
+ public function getParentMessage() {
+ }
+
+ public function toString($include_parent = NULL) {
+ }
+
+ public function toCallback($callback) {
+ }
+
+ public function toStream($stream) {
+ }
+
+ public function count() {
+ }
+
+ public function serialize() {
+ }
+
+ public function unserialize($serialized) {
+ }
+
+ public function rewind() {
+ }
+
+ public function valid() {
+ }
+
+ public function current() {
+ }
+
+ public function key() {
+ }
+
+ public function next() {
+ }
+
+ public function __toString() {
+ }
+
+ public function detach() {
+ }
+
+ public function prepend(\http\Message $message, $top = NULL) {
+ }
+
+ public function reverse() {
+ }
+
+ public function isMultipart(&$boundary = NULL) {
+ }
+
+ public function splitMultipartBody() {
+ }
+
+ }
+
+ class Params implements \ArrayAccess
+ {
+ const DEF_PARAM_SEP = ',';
+ const DEF_ARG_SEP = ';';
+ const DEF_VAL_SEP = '=';
+ const COOKIE_PARAM_SEP = '';
+ const PARSE_RAW = 0;
+ const PARSE_ESCAPED = 1;
+ const PARSE_URLENCODED = 4;
+ const PARSE_DIMENSION = 8;
+ const PARSE_RFC5987 = 16;
+ const PARSE_RFC5988 = 32;
+ const PARSE_DEFAULT = 17;
+ const PARSE_QUERY = 12;
+
+ public $params;
+ public $param_sep;
+ public $arg_sep;
+ public $val_sep;
+ public $flags;
+
+ final public function __construct($params = NULL, $param_sep = NULL, $arg_sep = NULL, $val_sep = NULL, $flags = NULL) {
+ }
+
+ public function toArray() {
+ }
+
+ public function toString() {
+ }
+
+ public function __toString() {
+ }
+
+ public function offsetExists($name) {
+ }
+
+ public function offsetUnset($name) {
+ }
+
+ public function offsetSet($name, $value) {
+ }
+
+ public function offsetGet($name) {
+ }
+
+ }
+
+ class QueryString implements \Serializable, \ArrayAccess, \IteratorAggregate
+ {
+ const TYPE_BOOL = 3;
+ const TYPE_INT = 1;
+ const TYPE_FLOAT = 2;
+ const TYPE_STRING = 6;
+ const TYPE_ARRAY = 4;
+ const TYPE_OBJECT = 5;
+
+ private static $instance;
+ private $queryArray;
+
+ final public function __construct($params = NULL) {
+ }
+
+ public function toArray() {
+ }
+
+ public function toString() {
+ }
+
+ public function __toString() {
+ }
+
+ public function get($name = NULL, $type = NULL, $defval = NULL, $delete = NULL) {
+ }
+
+ public function set($params) {
+ }
+
+ public function mod($params = NULL) {
+ }
+
+ public function getBool($name, $defval = NULL, $delete = NULL) {
+ }
+
+ public function getInt($name, $defval = NULL, $delete = NULL) {
+ }
+
+ public function getFloat($name, $defval = NULL, $delete = NULL) {
+ }
+
+ public function getString($name, $defval = NULL, $delete = NULL) {
+ }
+
+ public function getArray($name, $defval = NULL, $delete = NULL) {
+ }
+
+ public function getObject($name, $defval = NULL, $delete = NULL) {
+ }
+
+ public function getIterator() {
+ }
+
+ public static function getGlobalInstance() {
+ }
+
+ public function xlate($from_encoding, $to_encoding) {
+ }
+
+ public function serialize() {
+ }
+
+ public function unserialize($serialized) {
+ }
+
+ public function offsetGet($offset) {
+ }
+
+ public function offsetSet($offset, $value) {
+ }
+
+ public function offsetExists($offset) {
+ }
+
+ public function offsetUnset($offset) {
+ }
+
+ }
+
+ class Url
+ {
+ const REPLACE = 0;
+ const JOIN_PATH = 1;
+ const JOIN_QUERY = 2;
+ const STRIP_USER = 4;
+ const STRIP_PASS = 8;
+ const STRIP_AUTH = 12;
+ const STRIP_PORT = 32;
+ const STRIP_PATH = 64;
+ const STRIP_QUERY = 128;
+ const STRIP_FRAGMENT = 256;
+ const STRIP_ALL = 492;
+ const FROM_ENV = 4096;
+ const SANITIZE_PATH = 8192;
+ const PARSE_MBLOC = 65536;
+ const PARSE_MBUTF8 = 131072;
+ const PARSE_TOIDN = 1048576;
+ const PARSE_TOPCT = 2097152;
+
+ public $scheme;
+ public $user;
+ public $pass;
+ public $host;
+ public $port;
+ public $path;
+ public $query;
+ public $fragment;
+
+ public function __construct($old_url = NULL, $new_url = NULL, $flags = NULL) {
+ }
+
+ public function mod($more_url_parts, $flags = NULL) {
+ }
+
+ public function toString() {
+ }
+
+ public function __toString() {
+ }
+
+ public function toArray() {
+ }
+
+ }
+}
+
+namespace http\Client
+{
+
+ class Request extends \http\Message implements \Iterator, \Serializable, \Countable
+ {
+ protected $options;
+
+ public function __construct($method = NULL, $url = NULL, array $headers = NULL, \http\Message\Body $body = NULL) {
+ }
+
+ public function setContentType($content_type) {
+ }
+
+ public function getContentType() {
+ }
+
+ public function setQuery($query_data = NULL) {
+ }
+
+ public function getQuery() {
+ }
+
+ public function addQuery($query_data) {
+ }
+
+ public function setOptions(array $options = NULL) {
+ }
+
+ public function getOptions() {
+ }
+
+ public function setSslOptions(array $ssl_options = NULL) {
+ }
+
+ public function getSslOptions() {
+ }
+
+ public function addSslOptions(array $ssl_options = NULL) {
+ }
+
+ }
+
+ class Response extends \http\Message implements \Iterator, \Serializable, \Countable
+ {
+ protected $transferInfo;
+
+ public function getCookies($flags = NULL, $allowed_extras = NULL) {
+ }
+
+ public function getTransferInfo($element = NULL) {
+ }
+
+ }
+}
+
+namespace http\Client\Curl
+{
+ const AUTH_ANY = -17;
+ const AUTH_BASIC = 1;
+ const AUTH_DIGEST = 2;
+ const AUTH_DIGEST_IE = 16;
+ const AUTH_GSSNEG = 4;
+ const AUTH_NTLM = 8;
+ const HTTP_VERSION_1_0 = 1;
+ const HTTP_VERSION_1_1 = 2;
+ const HTTP_VERSION_2_0 = 3;
+ const HTTP_VERSION_ANY = 0;
+ const IPRESOLVE_ANY = 0;
+ const IPRESOLVE_V4 = 1;
+ const IPRESOLVE_V6 = 2;
+ const POSTREDIR_301 = 1;
+ const POSTREDIR_302 = 2;
+ const POSTREDIR_303 = 4;
+ const POSTREDIR_ALL = 7;
+ const PROXY_HTTP = 0;
+ const PROXY_HTTP_1_0 = 1;
+ const PROXY_SOCKS4 = 4;
+ const PROXY_SOCKS4A = 5;
+ const PROXY_SOCKS5 = 5;
+ const PROXY_SOCKS5_HOSTNAME = 5;
+ const SSL_VERSION_ANY = 0;
+ const SSL_VERSION_SSLv2 = 2;
+ const SSL_VERSION_SSLv3 = 3;
+ const SSL_VERSION_TLSv1 = 1;
+ const SSL_VERSION_TLSv1_0 = 4;
+ const SSL_VERSION_TLSv1_1 = 5;
+ const SSL_VERSION_TLSv1_2 = 6;
+}
+
+namespace http\Encoding
+{
+
+ abstract class Stream
+ {
+ const FLUSH_NONE = 0;
+ const FLUSH_SYNC = 1048576;
+ const FLUSH_FULL = 2097152;
+
+ public function __construct($flags = NULL) {
+ }
+
+ public function update($data) {
+ }
+
+ public function flush() {
+ }
+
+ public function done() {
+ }
+
+ public function finish() {
+ }
+
+ }
+}
+
+namespace http\Encoding\Stream
+{
+
+ class Dechunk extends \http\Encoding\Stream
+ {
+ public static function decode($data, &$decoded_len = NULL) {
+ }
+
+ }
+
+ class Deflate extends \http\Encoding\Stream
+ {
+ const TYPE_GZIP = 16;
+ const TYPE_ZLIB = 0;
+ const TYPE_RAW = 32;
+ const LEVEL_DEF = 0;
+ const LEVEL_MIN = 1;
+ const LEVEL_MAX = 9;
+ const STRATEGY_DEF = 0;
+ const STRATEGY_FILT = 256;
+ const STRATEGY_HUFF = 512;
+ const STRATEGY_RLE = 768;
+ const STRATEGY_FIXED = 1024;
+
+ public static function encode($data, $flags = NULL) {
+ }
+
+ }
+
+ class Inflate extends \http\Encoding\Stream
+ {
+ public static function decode($data) {
+ }
+
+ }
+}
+
+namespace http\Env
+{
+
+ class Request extends \http\Message implements \Iterator, \Serializable, \Countable
+ {
+ protected $query;
+ protected $form;
+ protected $cookie;
+ protected $files;
+
+ public function __construct() {
+ }
+
+ public function getForm($name = NULL, $type = NULL, $defval = NULL, $delete = NULL) {
+ }
+
+ public function getQuery($name = NULL, $type = NULL, $defval = NULL, $delete = NULL) {
+ }
+
+ public function getCookie($name = NULL, $type = NULL, $defval = NULL, $delete = NULL) {
+ }
+
+ public function getFiles() {
+ }
+
+ }
+
+ class Response extends \http\Message implements \Iterator, \Serializable, \Countable
+ {
+ const CONTENT_ENCODING_NONE = 0;
+ const CONTENT_ENCODING_GZIP = 1;
+ const CACHE_NO = 0;
+ const CACHE_HIT = 1;
+ const CACHE_MISS = 2;
+
+ protected $request;
+ protected $cookies;
+ protected $contentType;
+ protected $contentDisposition;
+ protected $contentEncoding;
+ protected $cacheControl;
+ protected $etag;
+ protected $lastModified;
+ protected $throttleDelay;
+ protected $throttleChunk;
+
+ public function __construct() {
+ }
+
+ public function __invoke($ob_string, $ob_flags = NULL) {
+ }
+
+ public function setEnvRequest(\http\Message $env_request) {
+ }
+
+ public function setCookie($cookie) {
+ }
+
+ public function setContentType($content_type) {
+ }
+
+ public function setContentDisposition(array $disposition_params) {
+ }
+
+ public function setContentEncoding($content_encoding) {
+ }
+
+ public function setCacheControl($cache_control) {
+ }
+
+ public function setLastModified($last_modified) {
+ }
+
+ public function isCachedByLastModified($header_name = NULL) {
+ }
+
+ public function setEtag($etag) {
+ }
+
+ public function isCachedByEtag($header_name = NULL) {
+ }
+
+ public function setThrottleRate($chunk_size, $delay = NULL) {
+ }
+
+ public function send($stream = NULL) {
+ }
+
+ }
+}
+
+namespace http\Exception
+{
+
+ class BadConversionException extends \DomainException implements \http\Exception
+ {
+ }
+
+ class UnexpectedValueException extends \UnexpectedValueException implements \http\Exception
+ {
+ }
+
+ class BadUrlException extends \DomainException implements \http\Exception
+ {
+ }
+
+ class BadMethodCallException extends \BadMethodCallException implements \http\Exception
+ {
+ }
+
+ class RuntimeException extends \RuntimeException implements \http\Exception
+ {
+ }
+
+ class InvalidArgumentException extends \InvalidArgumentException implements \http\Exception
+ {
+ }
+
+ class BadMessageException extends \DomainException implements \http\Exception
+ {
+ }
+
+ class BadHeaderException extends \DomainException implements \http\Exception
+ {
+ }
+
+ class BadQueryStringException extends \DomainException implements \http\Exception
+ {
+ }
+}
+
+namespace http\Header
+{
+
+ class Parser
+ {
+ const CLEANUP = 1;
+ const STATE_FAILURE = -1;
+ const STATE_START = 0;
+ const STATE_KEY = 1;
+ const STATE_VALUE = 2;
+ const STATE_VALUE_EX = 3;
+ const STATE_HEADER_DONE = 4;
+ const STATE_DONE = 5;
+
+ public function getState() {
+ }
+
+ public function parse($data, $flags, array &$headers) {
+ }
+
+ public function stream($stream, $flags, array &$headers) {
+ }
+
+ }
+}
+
+namespace http\Message
+{
+
+ class Body implements \Serializable
+ {
+ public function __construct($stream = NULL) {
+ }
+
+ public function __toString() {
+ }
+
+ public function toString() {
+ }
+
+ public function serialize() {
+ }
+
+ public function unserialize($serialized) {
+ }
+
+ public function toStream($stream, $offset = NULL, $maxlen = NULL) {
+ }
+
+ public function toCallback($callback, $offset = NULL, $maxlen = NULL) {
+ }
+
+ public function getResource() {
+ }
+
+ public function getBoundary() {
+ }
+
+ public function append($string) {
+ }
+
+ public function addForm(array $fields = NULL, array $files = NULL) {
+ }
+
+ public function addPart(\http\Message $message) {
+ }
+
+ public function etag() {
+ }
+
+ public function stat($field = NULL) {
+ }
+
+ }
+
+ class Parser
+ {
+ const CLEANUP = 1;
+ const DUMB_BODIES = 2;
+ const EMPTY_REDIRECTS = 4;
+ const GREEDY = 8;
+ const STATE_FAILURE = -1;
+ const STATE_START = 0;
+ const STATE_HEADER = 1;
+ const STATE_HEADER_DONE = 2;
+ const STATE_BODY = 3;
+ const STATE_BODY_DUMB = 4;
+ const STATE_BODY_LENGTH = 5;
+ const STATE_BODY_CHUNKED = 6;
+ const STATE_BODY_DONE = 7;
+ const STATE_UPDATE_CL = 8;
+ const STATE_DONE = 9;
+
+ public function getState() {
+ }
+
+ public function parse($data, $flags, &$message) {
+ }
+
+ public function stream($stream, $flags, &$message) {
+ }
+
+ }
+}
+
--- /dev/null
+<?php
+
+namespace pq
+{
+
+ interface Converter
+ {
+ abstract public function convertTypes();
+
+ abstract public function convertFromString($data, $type);
+
+ abstract public function convertToString($data, $type);
+
+ }
+
+ class Cancel
+ {
+ public $connection;
+
+ public function __construct(\pq\Connection $connection) {
+ }
+
+ public function cancel() {
+ }
+
+ }
+
+ interface Exception
+ {
+ const INVALID_ARGUMENT = 0;
+ const RUNTIME = 1;
+ const CONNECTION_FAILED = 2;
+ const IO = 3;
+ const ESCAPE = 4;
+ const BAD_METHODCALL = 5;
+ const UNINITIALIZED = 6;
+ const DOMAIN = 7;
+ const SQL = 8;
+
+ }
+
+ class COPY
+ {
+ const FROM_STDIN = 0;
+ const TO_STDOUT = 1;
+
+ public $connection;
+ public $expression;
+ public $direction;
+ public $options;
+
+ public function __construct(\pq\Connection $connection, $expression, $direction, $options = NULL) {
+ }
+
+ public function put($data) {
+ }
+
+ public function end($error = NULL) {
+ }
+
+ public function get(&$data) {
+ }
+
+ }
+
+ class Connection
+ {
+ const OK = 0;
+ const BAD = 1;
+ const STARTED = 2;
+ const MADE = 3;
+ const AWAITING_RESPONSE = 4;
+ const AUTH_OK = 5;
+ const SSL_STARTUP = 7;
+ const SETENV = 6;
+ const TRANS_IDLE = 0;
+ const TRANS_ACTIVE = 1;
+ const TRANS_INTRANS = 2;
+ const TRANS_INERROR = 3;
+ const TRANS_UNKNOWN = 4;
+ const POLLING_FAILED = 0;
+ const POLLING_READING = 1;
+ const POLLING_WRITING = 2;
+ const POLLING_OK = 3;
+ const EVENT_NOTICE = 'notice';
+ const EVENT_RESULT = 'result';
+ const EVENT_RESET = 'reset';
+ const ASYNC = 1;
+ const PERSISTENT = 2;
+
+ public $status;
+ public $transactionStatus;
+ public $socket;
+ public $errorMessage;
+ public $busy;
+ public $encoding;
+ public $unbuffered;
+ public $db;
+ public $user;
+ public $pass;
+ public $host;
+ public $port;
+ public $options;
+ public $eventHandlers;
+ public $defaultFetchType;
+ public $defaultTransactionIsolation;
+ public $defaultTransactionReadonly;
+ public $defaultTransactionDeferrable;
+ public $defaultAutoConvert;
+
+ public function __construct($dsn, $async = NULL) {
+ }
+
+ public function reset() {
+ }
+
+ public function resetAsync() {
+ }
+
+ public function poll() {
+ }
+
+ public function exec($query) {
+ }
+
+ public function execAsync($query, $callable = NULL) {
+ }
+
+ public function execParams($query, array $params, array $types = NULL) {
+ }
+
+ public function execParamsAsync($query, array $params, array $types = NULL, $callable = NULL) {
+ }
+
+ public function prepare($name, $query, array $types = NULL) {
+ }
+
+ public function prepareAsync($name, $query, array $types = NULL) {
+ }
+
+ public function declare($name, $flags, $query) {
+ }
+
+ public function declareAsync($name, $flags, $query = NULL) {
+ }
+
+ public function unlisten($channel) {
+ }
+
+ public function unlistenAsync($channel) {
+ }
+
+ public function listen($channel, $callable) {
+ }
+
+ public function listenAsync($channel = NULL, $callable = NULL) {
+ }
+
+ public function notify($channel, $message) {
+ }
+
+ public function notifyAsync($channel, $message) {
+ }
+
+ public function getResult() {
+ }
+
+ public function quote($string) {
+ }
+
+ public function quoteName($type) {
+ }
+
+ public function escapeBytea($bytea) {
+ }
+
+ public function unescapeBytea($bytea) {
+ }
+
+ public function startTransaction($isolation = NULL, $readonly = NULL, $deferrable = NULL) {
+ }
+
+ public function startTransactionAsync($isolation = NULL, $readonly = NULL, $deferrable = NULL) {
+ }
+
+ public function trace($stdio_stream = NULL) {
+ }
+
+ public function off($type) {
+ }
+
+ public function on($type, $callable) {
+ }
+
+ public function setConverter(\pq\Converter $converter) {
+ }
+
+ public function unsetConverter(\pq\Converter $converter) {
+ }
+
+ }
+
+ class Cursor
+ {
+ const BINARY = 1;
+ const INSENSITIVE = 2;
+ const WITH_HOLD = 4;
+ const SCROLL = 16;
+ const NO_SCROLL = 32;
+
+ public $name;
+ public $connection;
+
+ public function __construct(\pq\Connection $connection, $name, $flags, $query, $async = NULL) {
+ }
+
+ public function open() {
+ }
+
+ public function close() {
+ }
+
+ public function fetch($spec) {
+ }
+
+ public function move($spec = NULL) {
+ }
+
+ public function fetchAsync($spec = NULL, $callback = NULL) {
+ }
+
+ public function moveAsync($spec = NULL, $callback = NULL) {
+ }
+
+ }
+
+ class DateTime extends \DateTime implements \DateTimeInterface, \JsonSerializable
+ {
+ public $format;
+
+ public static function createFromFormat($format, $datetime, $timezone = NULL) {
+ }
+
+ public function __toString() {
+ }
+
+ public function jsonSerialize() {
+ }
+
+ }
+
+ class LOB
+ {
+ const INVALID_OID = 0;
+ const R = 262144;
+ const W = 131072;
+ const RW = 393216;
+
+ public $transaction;
+ public $oid;
+ public $stream;
+
+ public function __construct(\pq\Transaction $transaction, $oid = NULL, $mode = NULL) {
+ }
+
+ public function write($data) {
+ }
+
+ public function read($length = NULL, &$read = NULL) {
+ }
+
+ public function seek($offset, $whence = NULL) {
+ }
+
+ public function tell() {
+ }
+
+ public function truncate($length = NULL) {
+ }
+
+ }
+
+ class Result implements \Countable
+ {
+ const EMPTY_QUERY = 0;
+ const COMMAND_OK = 1;
+ const TUPLES_OK = 2;
+ const COPY_OUT = 3;
+ const COPY_IN = 4;
+ const BAD_RESPONSE = 5;
+ const NONFATAL_ERROR = 6;
+ const FATAL_ERROR = 7;
+ const COPY_BOTH = 8;
+ const SINGLE_TUPLE = 9;
+ const FETCH_ARRAY = 0;
+ const FETCH_ASSOC = 1;
+ const FETCH_OBJECT = 2;
+ const CONV_BOOL = 1;
+ const CONV_INT = 2;
+ const CONV_FLOAT = 4;
+ const CONV_SCALAR = 15;
+ const CONV_ARRAY = 16;
+ const CONV_DATETIME = 32;
+ const CONV_JSON = 256;
+ const CONV_ALL = 65535;
+
+ public $status;
+ public $statusMessage;
+ public $errorMessage;
+ public $numRows;
+ public $numCols;
+ public $affectedRows;
+ public $fetchType;
+ public $autoConvert;
+
+ public function bind($col, &$ref) {
+ }
+
+ public function fetchBound() {
+ }
+
+ public function fetchRow($fetch_type = NULL) {
+ }
+
+ public function fetchCol(&$ref, $col = NULL) {
+ }
+
+ public function fetchAll($fetch_type = NULL) {
+ }
+
+ public function fetchAllCols($col = NULL) {
+ }
+
+ public function count() {
+ }
+
+ public function map($keys = NULL, $vals = NULL, $fetch_type = NULL) {
+ }
+
+ public function desc() {
+ }
+
+ }
+
+ class Statement
+ {
+ public $name;
+ public $connection;
+ public $query;
+ public $types;
+
+ public function __construct(\pq\Connection $connection, $name, $query, array $types = NULL, $async = NULL) {
+ }
+
+ public function bind($param_no, &$param_ref) {
+ }
+
+ public function deallocate() {
+ }
+
+ public function deallocateAsync() {
+ }
+
+ public function desc() {
+ }
+
+ public function descAsync($callable) {
+ }
+
+ public function exec(array $params = NULL) {
+ }
+
+ public function execAsync(array $params = NULL, $callable = NULL) {
+ }
+
+ public function prepare() {
+ }
+
+ public function prepareAsync() {
+ }
+
+ }
+
+ class Transaction
+ {
+ const READ_COMMITTED = 0;
+ const REPEATABLE_READ = 1;
+ const SERIALIZABLE = 2;
+
+ public $connection;
+ public $isolation;
+ public $readonly;
+ public $deferrable;
+
+ public function __construct(\pq\Connection $connection, $async = NULL, $isolation = NULL, $readonly = NULL, $deferrable = NULL) {
+ }
+
+ public function commit() {
+ }
+
+ public function rollback() {
+ }
+
+ public function commitAsync() {
+ }
+
+ public function rollbackAsync() {
+ }
+
+ public function savepoint() {
+ }
+
+ public function savepointAsync() {
+ }
+
+ public function exportSnapshot() {
+ }
+
+ public function exportSnapshotAsync() {
+ }
+
+ public function importSnapshot($snapshot_id) {
+ }
+
+ public function importSnapshotAsync($snapshot_id) {
+ }
+
+ public function openLOB($oid, $mode = NULL) {
+ }
+
+ public function createLOB($mode = NULL) {
+ }
+
+ public function unlinkLOB($oid) {
+ }
+
+ public function importLOB($local_path, $oid = NULL) {
+ }
+
+ public function exportLOB($oid, $local_path) {
+ }
+
+ }
+
+ class Types
+ {
+ const BOOL = 16;
+ const BYTEA = 17;
+ const CHAR = 18;
+ const NAME = 19;
+ const INT8 = 20;
+ const INT2 = 21;
+ const INT2VECTOR = 22;
+ const INT4 = 23;
+ const REGPROC = 24;
+ const TEXT = 25;
+ const OID = 26;
+ const TID = 27;
+ const XID = 28;
+ const CID = 29;
+ const OIDVECTOR = 30;
+ const PG_TYPE = 71;
+ const PG_ATTRIBUTE = 75;
+ const PG_PROC = 81;
+ const PG_CLASS = 83;
+ const JSON = 114;
+ const XML = 142;
+ const XMLARRAY = 143;
+ const JSONARRAY = 199;
+ const PG_NODE_TREE = 194;
+ const SMGR = 210;
+ const POINT = 600;
+ const LSEG = 601;
+ const PATH = 602;
+ const BOX = 603;
+ const POLYGON = 604;
+ const LINE = 628;
+ const LINEARRAY = 629;
+ const FLOAT4 = 700;
+ const FLOAT8 = 701;
+ const ABSTIME = 702;
+ const RELTIME = 703;
+ const TINTERVAL = 704;
+ const UNKNOWN = 705;
+ const CIRCLE = 718;
+ const CIRCLEARRAY = 719;
+ const MONEY = 790;
+ const MONEYARRAY = 791;
+ const MACADDR = 829;
+ const INET = 869;
+ const CIDR = 650;
+ const BOOLARRAY = 1000;
+ const BYTEAARRAY = 1001;
+ const CHARARRAY = 1002;
+ const NAMEARRAY = 1003;
+ const INT2ARRAY = 1005;
+ const INT2VECTORARRAY = 1006;
+ const INT4ARRAY = 1007;
+ const REGPROCARRAY = 1008;
+ const TEXTARRAY = 1009;
+ const OIDARRAY = 1028;
+ const TIDARRAY = 1010;
+ const XIDARRAY = 1011;
+ const CIDARRAY = 1012;
+ const OIDVECTORARRAY = 1013;
+ const BPCHARARRAY = 1014;
+ const VARCHARARRAY = 1015;
+ const INT8ARRAY = 1016;
+ const POINTARRAY = 1017;
+ const LSEGARRAY = 1018;
+ const PATHARRAY = 1019;
+ const BOXARRAY = 1020;
+ const FLOAT4ARRAY = 1021;
+ const FLOAT8ARRAY = 1022;
+ const ABSTIMEARRAY = 1023;
+ const RELTIMEARRAY = 1024;
+ const TINTERVALARRAY = 1025;
+ const POLYGONARRAY = 1027;
+ const ACLITEM = 1033;
+ const ACLITEMARRAY = 1034;
+ const MACADDRARRAY = 1040;
+ const INETARRAY = 1041;
+ const CIDRARRAY = 651;
+ const CSTRINGARRAY = 1263;
+ const BPCHAR = 1042;
+ const VARCHAR = 1043;
+ const DATE = 1082;
+ const TIME = 1083;
+ const TIMESTAMP = 1114;
+ const TIMESTAMPARRAY = 1115;
+ const DATEARRAY = 1182;
+ const TIMEARRAY = 1183;
+ const TIMESTAMPTZ = 1184;
+ const TIMESTAMPTZARRAY = 1185;
+ const INTERVAL = 1186;
+ const INTERVALARRAY = 1187;
+ const NUMERICARRAY = 1231;
+ const TIMETZ = 1266;
+ const TIMETZARRAY = 1270;
+ const BIT = 1560;
+ const BITARRAY = 1561;
+ const VARBIT = 1562;
+ const VARBITARRAY = 1563;
+ const NUMERIC = 1700;
+ const REFCURSOR = 1790;
+ const REFCURSORARRAY = 2201;
+ const REGPROCEDURE = 2202;
+ const REGOPER = 2203;
+ const REGOPERATOR = 2204;
+ const REGCLASS = 2205;
+ const REGTYPE = 2206;
+ const REGPROCEDUREARRAY = 2207;
+ const REGOPERARRAY = 2208;
+ const REGOPERATORARRAY = 2209;
+ const REGCLASSARRAY = 2210;
+ const REGTYPEARRAY = 2211;
+ const UUID = 2950;
+ const UUIDARRAY = 2951;
+ const PG_LSN = 3220;
+ const PG_LSNARRAY = 3221;
+ const TSVECTOR = 3614;
+ const GTSVECTOR = 3642;
+ const TSQUERY = 3615;
+ const REGCONFIG = 3734;
+ const REGDICTIONARY = 3769;
+ const TSVECTORARRAY = 3643;
+ const GTSVECTORARRAY = 3644;
+ const TSQUERYARRAY = 3645;
+ const REGCONFIGARRAY = 3735;
+ const REGDICTIONARYARRAY = 3770;
+ const JSONB = 3802;
+ const JSONBARRAY = 3807;
+ const TXID_SNAPSHOT = 2970;
+ const TXID_SNAPSHOTARRAY = 2949;
+ const INT4RANGE = 3904;
+ const INT4RANGEARRAY = 3905;
+ const NUMRANGE = 3906;
+ const NUMRANGEARRAY = 3907;
+ const TSRANGE = 3908;
+ const TSRANGEARRAY = 3909;
+ const TSTZRANGE = 3910;
+ const TSTZRANGEARRAY = 3911;
+ const DATERANGE = 3912;
+ const DATERANGEARRAY = 3913;
+ const INT8RANGE = 3926;
+ const INT8RANGEARRAY = 3927;
+ const RECORD = 2249;
+ const RECORDARRAY = 2287;
+ const CSTRING = 2275;
+ const ANY = 2276;
+ const ANYARRAY = 2277;
+ const VOID = 2278;
+ const TRIGGER = 2279;
+ const EVENT_TRIGGER = 3838;
+ const LANGUAGE_HANDLER = 2280;
+ const INTERNAL = 2281;
+ const OPAQUE = 2282;
+ const ANYELEMENT = 2283;
+ const ANYNONARRAY = 2776;
+ const ANYENUM = 3500;
+ const FDW_HANDLER = 3115;
+ const ANYRANGE = 3831;
+
+ public $connection;
+
+ public function __construct(\pq\Connection $connection, array $namespaces = NULL) {
+ }
+
+ public function refresh(array $namespaces = NULL) {
+ }
+
+ }
+}
+
+namespace pq\Exception
+{
+
+ class BadMethodCallException extends \BadMethodCallException implements \pq\Exception
+ {
+ }
+
+ class InvalidArgumentException extends \InvalidArgumentException implements \pq\Exception
+ {
+ }
+
+ class RuntimeException extends \RuntimeException implements \pq\Exception
+ {
+ }
+
+ class DomainException extends \DomainException implements \pq\Exception
+ {
+ public $sqlstate;
+
+ }
+}
+
--- /dev/null
+<?php
+
+namespace
+{
+
+ class Redis
+ {
+ const REDIS_NOT_FOUND = 0;
+ const REDIS_STRING = 1;
+ const REDIS_SET = 2;
+ const REDIS_LIST = 3;
+ const REDIS_ZSET = 4;
+ const REDIS_HASH = 5;
+ const ATOMIC = 0;
+ const MULTI = 1;
+ const PIPELINE = 2;
+ const OPT_SERIALIZER = 1;
+ const OPT_PREFIX = 2;
+ const OPT_READ_TIMEOUT = 3;
+ const SERIALIZER_NONE = 0;
+ const SERIALIZER_PHP = 1;
+ const OPT_SCAN = 4;
+ const SCAN_RETRY = 1;
+ const SCAN_NORETRY = 0;
+ const AFTER = 'after';
+ const BEFORE = 'before';
+
+ public function __construct() {
+ }
+
+ public function __destruct() {
+ }
+
+ public function connect() {
+ }
+
+ public function pconnect() {
+ }
+
+ public function close() {
+ }
+
+ public function ping() {
+ }
+
+ public function echo() {
+ }
+
+ public function get() {
+ }
+
+ public function set() {
+ }
+
+ public function setex() {
+ }
+
+ public function psetex() {
+ }
+
+ public function setnx() {
+ }
+
+ public function getSet() {
+ }
+
+ public function randomKey() {
+ }
+
+ public function renameKey() {
+ }
+
+ public function renameNx() {
+ }
+
+ public function getMultiple() {
+ }
+
+ public function exists() {
+ }
+
+ public function delete() {
+ }
+
+ public function incr() {
+ }
+
+ public function incrBy() {
+ }
+
+ public function incrByFloat() {
+ }
+
+ public function decr() {
+ }
+
+ public function decrBy() {
+ }
+
+ public function type() {
+ }
+
+ public function append() {
+ }
+
+ public function getRange() {
+ }
+
+ public function setRange() {
+ }
+
+ public function getBit() {
+ }
+
+ public function setBit() {
+ }
+
+ public function strlen() {
+ }
+
+ public function getKeys() {
+ }
+
+ public function sort() {
+ }
+
+ public function sortAsc() {
+ }
+
+ public function sortAscAlpha() {
+ }
+
+ public function sortDesc() {
+ }
+
+ public function sortDescAlpha() {
+ }
+
+ public function lPush() {
+ }
+
+ public function rPush() {
+ }
+
+ public function lPushx() {
+ }
+
+ public function rPushx() {
+ }
+
+ public function lPop() {
+ }
+
+ public function rPop() {
+ }
+
+ public function blPop() {
+ }
+
+ public function brPop() {
+ }
+
+ public function lSize() {
+ }
+
+ public function lRemove() {
+ }
+
+ public function listTrim() {
+ }
+
+ public function lGet() {
+ }
+
+ public function lGetRange() {
+ }
+
+ public function lSet() {
+ }
+
+ public function lInsert() {
+ }
+
+ public function sAdd() {
+ }
+
+ public function sSize() {
+ }
+
+ public function sRemove() {
+ }
+
+ public function sMove() {
+ }
+
+ public function sPop() {
+ }
+
+ public function sRandMember() {
+ }
+
+ public function sContains() {
+ }
+
+ public function sMembers() {
+ }
+
+ public function sInter() {
+ }
+
+ public function sInterStore() {
+ }
+
+ public function sUnion() {
+ }
+
+ public function sUnionStore() {
+ }
+
+ public function sDiff() {
+ }
+
+ public function sDiffStore() {
+ }
+
+ public function setTimeout() {
+ }
+
+ public function save() {
+ }
+
+ public function bgSave() {
+ }
+
+ public function lastSave() {
+ }
+
+ public function flushDB() {
+ }
+
+ public function flushAll() {
+ }
+
+ public function dbSize() {
+ }
+
+ public function auth() {
+ }
+
+ public function ttl() {
+ }
+
+ public function pttl() {
+ }
+
+ public function persist() {
+ }
+
+ public function info() {
+ }
+
+ public function resetStat() {
+ }
+
+ public function select() {
+ }
+
+ public function move() {
+ }
+
+ public function bgrewriteaof() {
+ }
+
+ public function slaveof() {
+ }
+
+ public function object() {
+ }
+
+ public function bitop() {
+ }
+
+ public function bitcount() {
+ }
+
+ public function bitpos() {
+ }
+
+ public function mset() {
+ }
+
+ public function msetnx() {
+ }
+
+ public function rpoplpush() {
+ }
+
+ public function brpoplpush() {
+ }
+
+ public function zAdd() {
+ }
+
+ public function zDelete() {
+ }
+
+ public function zRange() {
+ }
+
+ public function zReverseRange() {
+ }
+
+ public function zRangeByScore() {
+ }
+
+ public function zRevRangeByScore() {
+ }
+
+ public function zRangeByLex() {
+ }
+
+ public function zCount() {
+ }
+
+ public function zDeleteRangeByScore() {
+ }
+
+ public function zDeleteRangeByRank() {
+ }
+
+ public function zCard() {
+ }
+
+ public function zScore() {
+ }
+
+ public function zRank() {
+ }
+
+ public function zRevRank() {
+ }
+
+ public function zInter() {
+ }
+
+ public function zUnion() {
+ }
+
+ public function zIncrBy() {
+ }
+
+ public function expireAt() {
+ }
+
+ public function pexpire() {
+ }
+
+ public function pexpireAt() {
+ }
+
+ public function hGet() {
+ }
+
+ public function hSet() {
+ }
+
+ public function hSetNx() {
+ }
+
+ public function hDel() {
+ }
+
+ public function hLen() {
+ }
+
+ public function hKeys() {
+ }
+
+ public function hVals() {
+ }
+
+ public function hGetAll() {
+ }
+
+ public function hExists() {
+ }
+
+ public function hIncrBy() {
+ }
+
+ public function hIncrByFloat() {
+ }
+
+ public function hMset() {
+ }
+
+ public function hMget() {
+ }
+
+ public function multi() {
+ }
+
+ public function discard() {
+ }
+
+ public function exec() {
+ }
+
+ public function pipeline() {
+ }
+
+ public function watch() {
+ }
+
+ public function unwatch() {
+ }
+
+ public function publish() {
+ }
+
+ public function subscribe() {
+ }
+
+ public function psubscribe() {
+ }
+
+ public function unsubscribe() {
+ }
+
+ public function punsubscribe() {
+ }
+
+ public function time() {
+ }
+
+ public function eval() {
+ }
+
+ public function evalsha() {
+ }
+
+ public function script() {
+ }
+
+ public function debug() {
+ }
+
+ public function dump() {
+ }
+
+ public function restore() {
+ }
+
+ public function migrate() {
+ }
+
+ public function getLastError() {
+ }
+
+ public function clearLastError() {
+ }
+
+ public function _prefix() {
+ }
+
+ public function _serialize() {
+ }
+
+ public function _unserialize() {
+ }
+
+ public function client() {
+ }
+
+ public function scan(&$i_iterator, $str_pattern = NULL, $i_count = NULL) {
+ }
+
+ public function hscan($str_key, &$i_iterator, $str_pattern = NULL, $i_count = NULL) {
+ }
+
+ public function zscan($str_key, &$i_iterator, $str_pattern = NULL, $i_count = NULL) {
+ }
+
+ public function sscan($str_key, &$i_iterator, $str_pattern = NULL, $i_count = NULL) {
+ }
+
+ public function pfadd() {
+ }
+
+ public function pfcount() {
+ }
+
+ public function pfmerge() {
+ }
+
+ public function getOption() {
+ }
+
+ public function setOption() {
+ }
+
+ public function config() {
+ }
+
+ public function slowlog() {
+ }
+
+ public function rawCommand() {
+ }
+
+ public function getHost() {
+ }
+
+ public function getPort() {
+ }
+
+ public function getDBNum() {
+ }
+
+ public function getTimeout() {
+ }
+
+ public function getReadTimeout() {
+ }
+
+ public function getPersistentID() {
+ }
+
+ public function getAuth() {
+ }
+
+ public function isConnected() {
+ }
+
+ public function getMode() {
+ }
+
+ public function wait() {
+ }
+
+ public function pubsub() {
+ }
+
+ public function open() {
+ }
+
+ public function popen() {
+ }
+
+ public function lLen() {
+ }
+
+ public function sGetMembers() {
+ }
+
+ public function mget() {
+ }
+
+ public function expire() {
+ }
+
+ public function zunionstore() {
+ }
+
+ public function zinterstore() {
+ }
+
+ public function zRemove() {
+ }
+
+ public function zRem() {
+ }
+
+ public function zRemoveRangeByScore() {
+ }
+
+ public function zRemRangeByScore() {
+ }
+
+ public function zRemRangeByRank() {
+ }
+
+ public function zSize() {
+ }
+
+ public function substr() {
+ }
+
+ public function rename() {
+ }
+
+ public function del() {
+ }
+
+ public function keys() {
+ }
+
+ public function lrem() {
+ }
+
+ public function ltrim() {
+ }
+
+ public function lindex() {
+ }
+
+ public function lrange() {
+ }
+
+ public function scard() {
+ }
+
+ public function srem() {
+ }
+
+ public function sismember() {
+ }
+
+ public function zrevrange() {
+ }
+
+ public function sendEcho() {
+ }
+
+ public function evaluate() {
+ }
+
+ public function evaluateSha() {
+ }
+
+ }
+
+ class RedisArray
+ {
+ public function __construct() {
+ }
+
+ public function __call($function_name, $arguments) {
+ }
+
+ public function _hosts() {
+ }
+
+ public function _target() {
+ }
+
+ public function _instance() {
+ }
+
+ public function _function() {
+ }
+
+ public function _distributor() {
+ }
+
+ public function _rehash() {
+ }
+
+ public function select() {
+ }
+
+ public function info() {
+ }
+
+ public function ping() {
+ }
+
+ public function flushdb() {
+ }
+
+ public function flushall() {
+ }
+
+ public function mget() {
+ }
+
+ public function mset() {
+ }
+
+ public function del() {
+ }
+
+ public function getOption() {
+ }
+
+ public function setOption() {
+ }
+
+ public function keys() {
+ }
+
+ public function save() {
+ }
+
+ public function bgsave() {
+ }
+
+ public function multi() {
+ }
+
+ public function exec() {
+ }
+
+ public function discard() {
+ }
+
+ public function unwatch() {
+ }
+
+ public function delete() {
+ }
+
+ public function getMultiple() {
+ }
+
+ }
+
+ class RedisException extends \RuntimeException
+ {
+ }
+}
+
--- /dev/null
+<?php
+
+namespace
+{
+ const URI_TEMPLATE_ERROR = 1;
+ const URI_TEMPLATE_ERROR_EXPRESSION = 3;
+ const URI_TEMPLATE_ERROR_NONE = 0;
+ const URI_TEMPLATE_ERROR_SYNTAX = 2;
+
+ function uri_template($template, array $variables, &$result = NULL) {
+ }
+}
+