diff options
author | Remi Collet <remi@remirepo.net> | 2020-11-12 14:44:05 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-11-12 14:44:05 +0100 |
commit | fb18a6d0dbee723412b85d1f5eeb134211ea0c90 (patch) | |
tree | 31ed922b598cd7ab3f049948c316c21597eaceaf |
duplicate v3
-rw-r--r-- | .gitignore | 9 | ||||
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | PHPINFO | 18 | ||||
-rw-r--r-- | REFLECTION | 3910 | ||||
-rw-r--r-- | php-pecl-couchbase3.spec | 436 |
5 files changed, 4377 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..01f0400 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +clog +package-*.xml +*.tgz +*.tar.bz2 +*.tar.gz +*.tar.xz +*.tar.xz.asc +*.src.rpm +*/*rpm diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..13af741 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +SRCDIR := $(shell pwd) +NAME := $(shell basename $(SRCDIR)) +include ../../../common/Makefile + @@ -0,0 +1,18 @@ + +couchbase + +couchbase support => enabled +extension version => 2.6.2 +libcouchbase runtime version => 2.10.5 (git: dabf6d58c2e89b4e75009a7f959e8ad30f85ff98) +libcouchbase headers version => 2.10.5 (git: dabf6d58c2e89b4e75009a7f959e8ad30f85ff98) +igbinary transcoder => enabled +zlib compressor => enabled + +Directive => Local Value => Master Value +couchbase.log_level => WARN => WARN +couchbase.encoder.format => json => json +couchbase.encoder.compression => off => off +couchbase.encoder.compression_threshold => 0 => 0 +couchbase.encoder.compression_factor => 0.0 => 0.0 +couchbase.decoder.json_arrays => 0 => 0 +couchbase.pool.max_idle_time_sec => 60 => 60 diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..5ac6f96 --- /dev/null +++ b/REFLECTION @@ -0,0 +1,3910 @@ +Extension [ <persistent> extension #109 couchbase version 2.6.2 ] { + + - Dependencies { + Dependency [ json (Required) ] + Dependency [ igbinary (Required) ] + } + + - INI { + Entry [ couchbase.log_level <ALL> ] + Current = 'WARN' + } + Entry [ couchbase.encoder.format <ALL> ] + Current = 'json' + } + Entry [ couchbase.encoder.compression <ALL> ] + Current = 'off' + } + Entry [ couchbase.encoder.compression_threshold <ALL> ] + Current = '0' + } + Entry [ couchbase.encoder.compression_factor <ALL> ] + Current = '0.0' + } + Entry [ couchbase.decoder.json_arrays <ALL> ] + Current = '0' + } + Entry [ couchbase.pool.max_idle_time_sec <ALL> ] + Current = '60' + } + } + + - Constants [163] { + Constant [ int COUCHBASE_PERSISTTO_MASTER ] { 1 } + Constant [ int COUCHBASE_PERSISTTO_ONE ] { 1 } + Constant [ int COUCHBASE_PERSISTTO_TWO ] { 2 } + Constant [ int COUCHBASE_PERSISTTO_THREE ] { 4 } + Constant [ int COUCHBASE_REPLICATETO_ONE ] { 16 } + Constant [ int COUCHBASE_REPLICATETO_TWO ] { 32 } + Constant [ int COUCHBASE_REPLICATETO_THREE ] { 64 } + Constant [ int COUCHBASE_SDCMD_GET ] { 1 } + Constant [ int COUCHBASE_SDCMD_REPLACE ] { 3 } + Constant [ int COUCHBASE_SDCMD_EXISTS ] { 2 } + Constant [ int COUCHBASE_SDCMD_DICT_ADD ] { 4 } + Constant [ int COUCHBASE_SDCMD_DICT_UPSERT ] { 5 } + Constant [ int COUCHBASE_SDCMD_ARRAY_ADD_FIRST ] { 6 } + Constant [ int COUCHBASE_SDCMD_ARRAY_ADD_LAST ] { 7 } + Constant [ int COUCHBASE_SDCMD_ARRAY_INSERT ] { 9 } + Constant [ int COUCHBASE_SDCMD_ARRAY_ADD_UNIQUE ] { 8 } + Constant [ int COUCHBASE_SDCMD_COUNTER ] { 10 } + Constant [ int COUCHBASE_SDCMD_REMOVE ] { 11 } + Constant [ int COUCHBASE_CNTL_OP_TIMEOUT ] { 0 } + Constant [ int COUCHBASE_CNTL_VIEW_TIMEOUT ] { 1 } + Constant [ int COUCHBASE_CNTL_DURABILITY_INTERVAL ] { 14 } + Constant [ int COUCHBASE_CNTL_DURABILITY_TIMEOUT ] { 13 } + Constant [ int COUCHBASE_CNTL_HTTP_TIMEOUT ] { 15 } + Constant [ int COUCHBASE_CNTL_CONFIGURATION_TIMEOUT ] { 18 } + Constant [ int COUCHBASE_CNTL_CONFDELAY_THRESH ] { 25 } + Constant [ int COUCHBASE_CNTL_CONFIG_NODE_TIMEOUT ] { 27 } + Constant [ int COUCHBASE_CNTL_HTCONFIG_IDLE_TIMEOUT ] { 28 } + Constant [ int COUCHBASE_VALUE_F_JSON ] { 1 } + Constant [ int COUCHBASE_N1XSPEC_T_DEFAULT ] { 0 } + Constant [ int COUCHBASE_N1XSPEC_T_GSI ] { 1 } + Constant [ int COUCHBASE_N1XSPEC_T_VIEW ] { 2 } + Constant [ int COUCHBASE_SUCCESS ] { 0 } + Constant [ int COUCHBASE_AUTH_CONTINUE ] { 1 } + Constant [ int COUCHBASE_AUTH_ERROR ] { 2 } + Constant [ int COUCHBASE_DELTA_BADVAL ] { 3 } + Constant [ int COUCHBASE_E2BIG ] { 4 } + Constant [ int COUCHBASE_EBUSY ] { 5 } + Constant [ int COUCHBASE_EINTERNAL ] { 6 } + Constant [ int COUCHBASE_EINVAL ] { 7 } + Constant [ int COUCHBASE_ENOMEM ] { 8 } + Constant [ int COUCHBASE_ERANGE ] { 9 } + Constant [ int COUCHBASE_ERROR ] { 10 } + Constant [ int COUCHBASE_ETMPFAIL ] { 11 } + Constant [ int COUCHBASE_KEY_EEXISTS ] { 12 } + Constant [ int COUCHBASE_KEY_ENOENT ] { 13 } + Constant [ int COUCHBASE_DLOPEN_FAILED ] { 14 } + Constant [ int COUCHBASE_DLSYM_FAILED ] { 15 } + Constant [ int COUCHBASE_NETWORK_ERROR ] { 16 } + Constant [ int COUCHBASE_NOT_MY_VBUCKET ] { 17 } + Constant [ int COUCHBASE_NOT_STORED ] { 18 } + Constant [ int COUCHBASE_NOT_SUPPORTED ] { 19 } + Constant [ int COUCHBASE_UNKNOWN_COMMAND ] { 20 } + Constant [ int COUCHBASE_UNKNOWN_HOST ] { 21 } + Constant [ int COUCHBASE_PROTOCOL_ERROR ] { 22 } + Constant [ int COUCHBASE_ETIMEDOUT ] { 23 } + Constant [ int COUCHBASE_CONNECT_ERROR ] { 24 } + Constant [ int COUCHBASE_BUCKET_ENOENT ] { 25 } + Constant [ int COUCHBASE_CLIENT_ENOMEM ] { 26 } + Constant [ int COUCHBASE_CLIENT_ENOCONF ] { 27 } + Constant [ int COUCHBASE_EBADHANDLE ] { 28 } + Constant [ int COUCHBASE_SERVER_BUG ] { 29 } + Constant [ int COUCHBASE_PLUGIN_VERSION_MISMATCH ] { 30 } + Constant [ int COUCHBASE_INVALID_HOST_FORMAT ] { 31 } + Constant [ int COUCHBASE_INVALID_CHAR ] { 32 } + Constant [ int COUCHBASE_DURABILITY_ETOOMANY ] { 33 } + Constant [ int COUCHBASE_DUPLICATE_COMMANDS ] { 34 } + Constant [ int COUCHBASE_NO_MATCHING_SERVER ] { 35 } + Constant [ int COUCHBASE_BAD_ENVIRONMENT ] { 36 } + Constant [ int COUCHBASE_BUSY ] { 37 } + Constant [ int COUCHBASE_INVALID_USERNAME ] { 38 } + Constant [ int COUCHBASE_CONFIG_CACHE_INVALID ] { 39 } + Constant [ int COUCHBASE_SASLMECH_UNAVAILABLE ] { 40 } + Constant [ int COUCHBASE_TOO_MANY_REDIRECTS ] { 41 } + Constant [ int COUCHBASE_MAP_CHANGED ] { 42 } + Constant [ int COUCHBASE_INCOMPLETE_PACKET ] { 43 } + Constant [ int COUCHBASE_ECONNREFUSED ] { 44 } + Constant [ int COUCHBASE_ESOCKSHUTDOWN ] { 45 } + Constant [ int COUCHBASE_ECONNRESET ] { 46 } + Constant [ int COUCHBASE_ECANTGETPORT ] { 47 } + Constant [ int COUCHBASE_EFDLIMITREACHED ] { 48 } + Constant [ int COUCHBASE_ENETUNREACH ] { 49 } + Constant [ int COUCHBASE_ECTL_UNKNOWN ] { 50 } + Constant [ int COUCHBASE_ECTL_UNSUPPMODE ] { 51 } + Constant [ int COUCHBASE_ECTL_BADARG ] { 52 } + Constant [ int COUCHBASE_EMPTY_KEY ] { 53 } + Constant [ int COUCHBASE_SSL_ERROR ] { 54 } + Constant [ int COUCHBASE_SSL_CANTVERIFY ] { 55 } + Constant [ int COUCHBASE_SCHEDFAIL_INTERNAL ] { 56 } + Constant [ int COUCHBASE_CLIENT_FEATURE_UNAVAILABLE ] { 57 } + Constant [ int COUCHBASE_OPTIONS_CONFLICT ] { 58 } + Constant [ int COUCHBASE_HTTP_ERROR ] { 59 } + Constant [ int COUCHBASE_DURABILITY_NO_MUTATION_TOKENS ] { 60 } + Constant [ int COUCHBASE_UNKNOWN_MEMCACHED_ERROR ] { 61 } + Constant [ int COUCHBASE_MUTATION_LOST ] { 62 } + Constant [ int COUCHBASE_SUBDOC_PATH_ENOENT ] { 63 } + Constant [ int COUCHBASE_SUBDOC_PATH_MISMATCH ] { 64 } + Constant [ int COUCHBASE_SUBDOC_PATH_EINVAL ] { 65 } + Constant [ int COUCHBASE_SUBDOC_PATH_E2BIG ] { 66 } + Constant [ int COUCHBASE_SUBDOC_DOC_E2DEEP ] { 67 } + Constant [ int COUCHBASE_SUBDOC_VALUE_CANTINSERT ] { 68 } + Constant [ int COUCHBASE_SUBDOC_DOC_NOTJSON ] { 69 } + Constant [ int COUCHBASE_SUBDOC_NUM_ERANGE ] { 70 } + Constant [ int COUCHBASE_SUBDOC_BAD_DELTA ] { 71 } + Constant [ int COUCHBASE_SUBDOC_PATH_EEXISTS ] { 72 } + Constant [ int COUCHBASE_SUBDOC_MULTI_FAILURE ] { 73 } + Constant [ int COUCHBASE_SUBDOC_VALUE_E2DEEP ] { 74 } + Constant [ int COUCHBASE_EINVAL_MCD ] { 75 } + Constant [ int COUCHBASE_EMPTY_PATH ] { 76 } + Constant [ int COUCHBASE_UNKNOWN_SDCMD ] { 77 } + Constant [ int COUCHBASE_ENO_COMMANDS ] { 78 } + Constant [ int COUCHBASE_QUERY_ERROR ] { 79 } + Constant [ int COUCHBASE_GENERIC_TMPERR ] { 80 } + Constant [ int COUCHBASE_GENERIC_SUBDOCERR ] { 81 } + Constant [ int COUCHBASE_GENERIC_CONSTRAINT_ERR ] { 82 } + Constant [ int COUCHBASE_NAMESERVER_ERROR ] { 83 } + Constant [ int COUCHBASE_NOT_AUTHORIZED ] { 84 } + Constant [ int COUCHBASE_SUBDOC_INVALID_COMBO ] { 85 } + Constant [ int COUCHBASE_SUBDOC_MULTI_PATH_FAILURE ] { 86 } + Constant [ int COUCHBASE_SUBDOC_SUCCESS_DELETED ] { 87 } + Constant [ int COUCHBASE_SUBDOC_XATTR_INVALID_FLAG_COMBO ] { 88 } + Constant [ int COUCHBASE_SUBDOC_XATTR_INVALID_KEY_COMBO ] { 89 } + Constant [ int COUCHBASE_SUBDOC_XATTR_UNKNOWN_MACRO ] { 90 } + Constant [ int COUCHBASE_SUBDOC_XATTR_UNKNOWN_VATTR ] { 91 } + Constant [ int COUCHBASE_SUBDOC_XATTR_CANT_MODIFY_VATTR ] { 92 } + Constant [ int COUCHBASE_SUBDOC_MULTI_PATH_FAILURE_DELETED ] { 93 } + Constant [ int COUCHBASE_SUBDOC_INVALID_XATTR_ORDER ] { 94 } + Constant [ int COUCHBASE_SSL_INVALID_CIPHERSUITES ] { 95 } + Constant [ int COUCHBASE_SSL_NO_CIPHERS ] { 96 } + Constant [ int COUCHBASE_TMPFAIL ] { 11 } + Constant [ int COUCHBASE_KEYALREADYEXISTS ] { 12 } + Constant [ int COUCHBASE_KEYNOTFOUND ] { 13 } + Constant [ int COUCHBASE_VAL_MASK ] { 31 } + Constant [ int COUCHBASE_VAL_IS_STRING ] { 0 } + Constant [ int COUCHBASE_VAL_IS_LONG ] { 1 } + Constant [ int COUCHBASE_VAL_IS_DOUBLE ] { 2 } + Constant [ int COUCHBASE_VAL_IS_BOOL ] { 3 } + Constant [ int COUCHBASE_VAL_IS_SERIALIZED ] { 4 } + Constant [ int COUCHBASE_VAL_IS_IGBINARY ] { 5 } + Constant [ int COUCHBASE_VAL_IS_JSON ] { 6 } + Constant [ int COUCHBASE_COMPRESSION_MASK ] { 224 } + Constant [ int COUCHBASE_COMPRESSION_NONE ] { 0 } + Constant [ int COUCHBASE_COMPRESSION_ZLIB ] { 32 } + Constant [ int COUCHBASE_COMPRESSION_FASTLZ ] { 64 } + Constant [ int COUCHBASE_COMPRESSION_MCISCOMPRESSED ] { 16 } + Constant [ int COUCHBASE_SERTYPE_JSON ] { 0 } + Constant [ int COUCHBASE_SERTYPE_IGBINARY ] { 1 } + Constant [ int COUCHBASE_SERTYPE_PHP ] { 2 } + Constant [ int COUCHBASE_CMPRTYPE_NONE ] { 0 } + Constant [ int COUCHBASE_CMPRTYPE_ZLIB ] { 1 } + Constant [ int COUCHBASE_CMPRTYPE_FASTLZ ] { 2 } + Constant [ int COUCHBASE_CFFMT_MASK ] { -16777216 } + Constant [ int COUCHBASE_CFFMT_PRIVATE ] { 16777216 } + Constant [ int COUCHBASE_CFFMT_JSON ] { 33554432 } + Constant [ int COUCHBASE_CFFMT_RAW ] { 50331648 } + Constant [ int COUCHBASE_CFFMT_STRING ] { 67108864 } + Constant [ int Couchbase\ENCODER_FORMAT_JSON ] { 0 } + Constant [ int Couchbase\ENCODER_FORMAT_IGBINARY ] { 1 } + Constant [ int Couchbase\ENCODER_FORMAT_PHP ] { 2 } + Constant [ int Couchbase\ENCODER_COMPRESSION_NONE ] { 0 } + Constant [ int Couchbase\ENCODER_COMPRESSION_ZLIB ] { 1 } + Constant [ int Couchbase\ENCODER_COMPRESSION_FASTLZ ] { 2 } + Constant [ int Couchbase\HAVE_IGBINARY ] { 1 } + Constant [ int Couchbase\HAVE_ZLIB ] { 1 } + } + + - Functions { + Function [ <internal:couchbase> function Couchbase\fastlzCompress ] { + + - Parameters [1] { + Parameter #0 [ <required> $data ] + } + } + Function [ <internal:couchbase> function Couchbase\fastlzDecompress ] { + + - Parameters [1] { + Parameter #0 [ <required> $data ] + } + } + Function [ <internal:couchbase> function Couchbase\zlibCompress ] { + + - Parameters [1] { + Parameter #0 [ <required> $data ] + } + } + Function [ <internal:couchbase> function Couchbase\zlibDecompress ] { + + - Parameters [1] { + Parameter #0 [ <required> $data ] + } + } + Function [ <internal:couchbase> function Couchbase\passthruEncoder ] { + + - Parameters [1] { + Parameter #0 [ <required> $value ] + } + } + Function [ <internal:couchbase> function Couchbase\passthruDecoder ] { + + - Parameters [3] { + Parameter #0 [ <required> $bytes ] + Parameter #1 [ <required> $flags ] + Parameter #2 [ <required> $datatype ] + } + } + Function [ <internal:couchbase> function Couchbase\defaultEncoder ] { + + - Parameters [1] { + Parameter #0 [ <required> $value ] + } + } + Function [ <internal:couchbase> function Couchbase\defaultDecoder ] { + + - Parameters [3] { + Parameter #0 [ <required> $bytes ] + Parameter #1 [ <required> $flags ] + Parameter #2 [ <required> $datatype ] + } + } + Function [ <internal:couchbase> function Couchbase\basicEncoderV1 ] { + + - Parameters [2] { + Parameter #0 [ <required> $value ] + Parameter #1 [ <required> $options ] + } + } + Function [ <internal:couchbase> function Couchbase\basicDecoderV1 ] { + + - Parameters [4] { + Parameter #0 [ <required> $bytes ] + Parameter #1 [ <required> $flags ] + Parameter #2 [ <required> $datatype ] + Parameter #3 [ <required> $options ] + } + } + Function [ <internal:couchbase> function couchbase_fastlz_compress ] { + + - Parameters [1] { + Parameter #0 [ <required> $data ] + } + } + Function [ <internal:couchbase> function couchbase_fastlz_decompress ] { + + - Parameters [1] { + Parameter #0 [ <required> $data ] + } + } + Function [ <internal:couchbase> function couchbase_zlib_compress ] { + + - Parameters [1] { + Parameter #0 [ <required> $data ] + } + } + Function [ <internal:couchbase> function couchbase_zlib_decompress ] { + + - Parameters [1] { + Parameter #0 [ <required> $data ] + } + } + Function [ <internal:couchbase> function couchbase_passthru_encoder ] { + + - Parameters [1] { + Parameter #0 [ <required> $value ] + } + } + Function [ <internal:couchbase> function couchbase_passthru_decoder ] { + + - Parameters [3] { + Parameter #0 [ <required> $bytes ] + Parameter #1 [ <required> $flags ] + Parameter #2 [ <required> $datatype ] + } + } + Function [ <internal:couchbase> function couchbase_default_encoder ] { + + - Parameters [1] { + Parameter #0 [ <required> $value ] + } + } + Function [ <internal:couchbase> function couchbase_default_decoder ] { + + - Parameters [3] { + Parameter #0 [ <required> $bytes ] + Parameter #1 [ <required> $flags ] + Parameter #2 [ <required> $datatype ] + } + } + Function [ <internal:couchbase> function couchbase_basic_encoder_v1 ] { + + - Parameters [2] { + Parameter #0 [ <required> $value ] + Parameter #1 [ <required> $options ] + } + } + Function [ <internal:couchbase> function couchbase_basic_decoder_v1 ] { + + - Parameters [4] { + Parameter #0 [ <required> $bytes ] + Parameter #1 [ <required> $flags ] + Parameter #2 [ <required> $datatype ] + Parameter #3 [ <required> $options ] + } + } + } + + - Classes [55] { + Class [ <internal:couchbase> class Couchbase\Exception extends Exception implements Throwable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { + } + } + } + + Class [ <internal:couchbase> class Couchbase\Document ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [5] { + Property [ <default> public $error ] + Property [ <default> public $value ] + Property [ <default> public $flags ] + Property [ <default> public $cas ] + Property [ <default> public $token ] + } + + - Methods [0] { + } + } + + Class [ <internal:couchbase> class Couchbase\DocumentFragment ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> public $error ] + Property [ <default> public $cas ] + Property [ <default> public $value ] + Property [ <default> public $token ] + } + + - Methods [0] { + } + } + + Class [ <internal:couchbase> class Couchbase\Cluster ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [5] { + Method [ <internal:couchbase, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <required> $connstr ] + } + } + + Method [ <internal:couchbase> public method openBucket ] { + + - Parameters [2] { + Parameter #0 [ <required> $name ] + Parameter #1 [ <required> $password ] + } + } + + Method [ <internal:couchbase> public method manager ] { + + - Parameters [2] { + Parameter #0 [ <required> $username ] + Parameter #1 [ <required> $password ] + } + } + + Method [ <internal:couchbase> public method authenticate ] { + + - Parameters [1] { + Parameter #0 [ <required> $authenticator ] + } + } + + Method [ <internal:couchbase> public method authenticateAs ] { + + - Parameters [2] { + Parameter #0 [ <required> $username ] + Parameter #1 [ <required> $password ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\ClusterManager ] { + + - Constants [2] { + Constant [ public int RBAC_DOMAIN_LOCAL ] { 1 } + Constant [ public int RBAC_DOMAIN_EXTERNAL ] { 2 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [9] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method listBuckets ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method createBucket ] { + + - Parameters [2] { + Parameter #0 [ <required> $name ] + Parameter #1 [ <required> $options ] + } + } + + Method [ <internal:couchbase> public method removeBucket ] { + + - Parameters [1] { + Parameter #0 [ <required> $name ] + } + } + + Method [ <internal:couchbase> public method listUsers ] { + + - Parameters [1] { + Parameter #0 [ <required> $domain ] + } + } + + Method [ <internal:couchbase> public method upsertUser ] { + + - Parameters [3] { + Parameter #0 [ <required> $name ] + Parameter #1 [ <required> $settings ] + Parameter #2 [ <required> $domain ] + } + } + + Method [ <internal:couchbase> public method getUser ] { + + - Parameters [2] { + Parameter #0 [ <required> $name ] + Parameter #1 [ <required> $domain ] + } + } + + Method [ <internal:couchbase> public method removeUser ] { + + - Parameters [2] { + Parameter #0 [ <required> $name ] + Parameter #1 [ <required> $domain ] + } + } + + Method [ <internal:couchbase> public method info ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\UserSettings ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [4] { + Method [ <internal:couchbase, ctor> public method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method fullName ] { + + - Parameters [1] { + Parameter #0 [ <required> $fullName ] + } + } + + Method [ <internal:couchbase> public method password ] { + + - Parameters [1] { + Parameter #0 [ <required> $password ] + } + } + + Method [ <internal:couchbase> public method role ] { + + - Parameters [2] { + Parameter #0 [ <required> $role ] + Parameter #1 [ <required> $bucket ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\Bucket ] { + + - Constants [4] { + Constant [ public int PINGSVC_KV ] { 1 } + Constant [ public int PINGSVC_N1QL ] { 2 } + Constant [ public int PINGSVC_VIEWS ] { 4 } + Constant [ public int PINGSVC_FTS ] { 8 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [50] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> private method __get ] { + + - Parameters [1] { + Parameter #0 [ <required> $name ] + } + } + + Method [ <internal:couchbase> private method __set ] { + + - Parameters [2] { + Parameter #0 [ <required> $name ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:couchbase> public method setTranscoder ] { + + - Parameters [2] { + Parameter #0 [ <required> callable $encoder ] + Parameter #1 [ <required> callable $decoder ] + } + } + + Method [ <internal:couchbase> public method getName ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method get ] { + + - Parameters [2] { + Parameter #0 [ <required> $ids ] + Parameter #1 [ <required> $options ] + } + } + + Method [ <internal:couchbase> public method getAndLock ] { + + - Parameters [3] { + Parameter #0 [ <required> $ids ] + Parameter #1 [ <required> $lockTime ] + Parameter #2 [ <required> $options ] + } + } + + Method [ <internal:couchbase> public method getAndTouch ] { + + - Parameters [3] { + Parameter #0 [ <required> $ids ] + Parameter #1 [ <required> $expiry ] + Parameter #2 [ <required> $options ] + } + } + + Method [ <internal:couchbase> public method getFromReplica ] { + + - Parameters [2] { + Parameter #0 [ <required> $ids ] + Parameter #1 [ <required> $options ] + } + } + + Method [ <internal:couchbase> public method upsert ] { + + - Parameters [3] { + Parameter #0 [ <required> $id ] + Parameter #1 [ <required> $val ] + Parameter #2 [ <required> $options ] + } + } + + Method [ <internal:couchbase> public method insert ] { + + - Parameters [3] { + Parameter #0 [ <required> $id ] + Parameter #1 [ <required> $val ] + Parameter #2 [ <required> $options ] + } + } + + Method [ <internal:couchbase> public method replace ] { + + - Parameters [3] { + Parameter #0 [ <required> $id ] + Parameter #1 [ <required> $val ] + Parameter #2 [ <required> $options ] + } + } + + Method [ <internal:couchbase> public method append ] { + + - Parameters [3] { + Parameter #0 [ <required> $id ] + Parameter #1 [ <required> $val ] + Parameter #2 [ <required> $options ] + } + } + + Method [ <internal:couchbase> public method prepend ] { + + - Parameters [3] { + Parameter #0 [ <required> $id ] + Parameter #1 [ <required> $val ] + Parameter #2 [ <required> $options ] + } + } + + Method [ <internal:couchbase> public method remove ] { + + - Parameters [2] { + Parameter #0 [ <required> $id ] + Parameter #1 [ <required> $options ] + } + } + + Method [ <internal:couchbase> public method unlock ] { + + - Parameters [2] { + Parameter #0 [ <required> $id ] + Parameter #1 [ <required> $options ] + } + } + + Method [ <internal:couchbase> public method touch ] { + + - Parameters [3] { + Parameter #0 [ <required> $id ] + Parameter #1 [ <required> $expiry ] + Parameter #2 [ <required> $options ] + } + } + + Method [ <internal:couchbase> public method counter ] { + + - Parameters [3] { + Parameter #0 [ <required> $id ] + Parameter #1 [ <required> $delta ] + Parameter #2 [ <required> $options ] + } + } + + Method [ <internal:couchbase> public method lookupIn ] { + + - Parameters [1] { + Parameter #0 [ <required> $id ] + } + } + + Method [ <internal:couchbase> public method retrieveIn ] { + + - Parameters [2] { + Parameter #0 [ <required> $id ] + Parameter #1 [ <required> ...$(paths) ] + } + } + + Method [ <internal:couchbase> public method mutateIn ] { + + - Parameters [2] { + Parameter #0 [ <required> $id ] + Parameter #1 [ <required> $cas ] + } + } + + Method [ <internal:couchbase> public method manager ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method query ] { + + - Parameters [2] { + Parameter #0 [ <required> $query ] + Parameter #1 [ <required> $jsonAsArray ] + } + } + + Method [ <internal:couchbase> public method mapSize ] { + + - Parameters [1] { + Parameter #0 [ <required> $id ] + } + } + + Method [ <internal:couchbase> public method mapAdd ] { + + - Parameters [3] { + Parameter #0 [ <required> $id ] + Parameter #1 [ <required> $key ] + Parameter #2 [ <required> $value ] + } + } + + Method [ <internal:couchbase> public method mapRemove ] { + + - Parameters [2] { + Parameter #0 [ <required> $id ] + Parameter #1 [ <required> $key ] + } + } + + Method [ <internal:couchbase> public method mapGet ] { + + - Parameters [2] { + Parameter #0 [ <required> $id ] + Parameter #1 [ <required> $key ] + } + } + + Method [ <internal:couchbase> public method setAdd ] { + + - Parameters [2] { + Parameter #0 [ <required> $id ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:couchbase> public method setExists ] { + + - Parameters [2] { + Parameter #0 [ <required> $id ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:couchbase> public method setRemove ] { + + - Parameters [2] { + Parameter #0 [ <required> $id ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:couchbase> public method listSize ] { + + - Parameters [1] { + Parameter #0 [ <required> $id ] + } + } + + Method [ <internal:couchbase> public method listPush ] { + + - Parameters [2] { + Parameter #0 [ <required> $id ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:couchbase> public method listShift ] { + + - Parameters [2] { + Parameter #0 [ <required> $id ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:couchbase> public method listRemove ] { + + - Parameters [2] { + Parameter #0 [ <required> $id ] + Parameter #1 [ <required> $index ] + } + } + + Method [ <internal:couchbase> public method listGet ] { + + - Parameters [2] { + Parameter #0 [ <required> $id ] + Parameter #1 [ <required> $index ] + } + } + + Method [ <internal:couchbase> public method listSet ] { + + - Parameters [3] { + Parameter #0 [ <required> $id ] + Parameter #1 [ <required> $index ] + Parameter #2 [ <required> $value ] + } + } + + Method [ <internal:couchbase> public method listExists ] { + + - Parameters [2] { + Parameter #0 [ <required> $id ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:couchbase> public method setSize ] { + + - Parameters [1] { + Parameter #0 [ <required> $id ] + } + } + + Method [ <internal:couchbase> public method queueSize ] { + + - Parameters [1] { + Parameter #0 [ <required> $id ] + } + } + + Method [ <internal:couchbase> public method queueAdd ] { + + - Parameters [2] { + Parameter #0 [ <required> $id ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:couchbase> public method queueExists ] { + + - Parameters [2] { + Parameter #0 [ <required> $id ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:couchbase> public method queueRemove ] { + + - Parameters [1] { + Parameter #0 [ <required> $id ] + } + } + + Method [ <internal:couchbase> public method ping ] { + + - Parameters [2] { + Parameter #0 [ <required> $services ] + Parameter #1 [ <required> $reportId ] + } + } + + Method [ <internal:couchbase> public method diag ] { + + - Parameters [1] { + Parameter #0 [ <required> $reportId ] + } + } + + Method [ <internal:couchbase> public method registerCryptoProvider ] { + + - Parameters [2] { + Parameter #0 [ <required> string $name ] + Parameter #1 [ <required> Couchbase\CryptoProvider $provider ] + } + } + + Method [ <internal:couchbase> public method unregisterCryptoProvider ] { + + - Parameters [1] { + Parameter #0 [ <required> string $name ] + } + } + + Method [ <internal:couchbase> public method encryptFields ] { + + - Parameters [3] { + Parameter #0 [ <required> $document ] + Parameter #1 [ <required> array $options ] + Parameter #2 [ <optional> string $prefix ] + } + } + + Method [ <internal:couchbase> public method decryptFields ] { + + - Parameters [3] { + Parameter #0 [ <required> $document ] + Parameter #1 [ <required> array $options ] + Parameter #2 [ <optional> string $prefix ] + } + } + + Method [ <internal, deprecated:couchbase> public method encryptDocument ] { + + - Parameters [3] { + Parameter #0 [ <required> $document ] + Parameter #1 [ <required> array $options ] + Parameter #2 [ <optional> string $prefix ] + } + } + + Method [ <internal, deprecated:couchbase> public method decryptDocument ] { + + - Parameters [2] { + Parameter #0 [ <required> $document ] + Parameter #1 [ <optional> string $prefix ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\BucketManager ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [15] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method info ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method flush ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method listDesignDocuments ] { + + - Parameters [0] { + } + } + + Method [ <internal, deprecated:couchbase> public method getDesignDocuments ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method getDesignDocument ] { + + - Parameters [1] { + Parameter #0 [ <required> $name ] + } + } + + Method [ <internal:couchbase> public method removeDesignDocument ] { + + - Parameters [1] { + Parameter #0 [ <required> $name ] + } + } + + Method [ <internal:couchbase> public method upsertDesignDocument ] { + + - Parameters [2] { + Parameter #0 [ <required> $name ] + Parameter #1 [ <required> $document ] + } + } + + Method [ <internal:couchbase> public method insertDesignDocument ] { + + - Parameters [2] { + Parameter #0 [ <required> $name ] + Parameter #1 [ <required> $document ] + } + } + + Method [ <internal:couchbase> public method listN1qlIndexes ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method createN1qlPrimaryIndex ] { + + - Parameters [3] { + Parameter #0 [ <required> $customName ] + Parameter #1 [ <required> $ignoreIfExist ] + Parameter #2 [ <required> $defer ] + } + } + + Method [ <internal:couchbase> public method createN1qlIndex ] { + + - Parameters [5] { + Parameter #0 [ <required> $indexName ] + Parameter #1 [ <required> $fields ] + Parameter #2 [ <required> $whereClause ] + Parameter #3 [ <required> $ignoreIfExist ] + Parameter #4 [ <required> $defer ] + } + } + + Method [ <internal:couchbase> public method dropN1qlPrimaryIndex ] { + + - Parameters [3] { + Parameter #0 [ <required> $customName ] + Parameter #1 [ <required> $ignoreIfNotExist ] + Parameter #2 [ <optional> $defer ] + } + } + + Method [ <internal:couchbase> public method dropN1qlIndex ] { + + - Parameters [3] { + Parameter #0 [ <required> $indexName ] + Parameter #1 [ <required> $ignoreIfNotExist ] + Parameter #2 [ <optional> $defer ] + } + } + + Method [ <internal:couchbase> public method searchIndexManager ] { + + - Parameters [0] { + } + } + } + } + + Interface [ <internal:couchbase> interface Couchbase\Authenticator ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:couchbase> class Couchbase\CertAuthenticator implements Couchbase\Authenticator ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ <internal:couchbase, ctor> public method __construct ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\ClassicAuthenticator implements Couchbase\Authenticator ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [3] { + Method [ <internal:couchbase, ctor> public method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method cluster ] { + + - Parameters [2] { + Parameter #0 [ <required> $username ] + Parameter #1 [ <required> $password ] + } + } + + Method [ <internal:couchbase> public method bucket ] { + + - Parameters [2] { + Parameter #0 [ <required> $name ] + Parameter #1 [ <required> $password ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\PasswordAuthenticator implements Couchbase\Authenticator ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [3] { + Method [ <internal:couchbase, ctor> public method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method username ] { + + - Parameters [1] { + Parameter #0 [ <required> $username ] + } + } + + Method [ <internal:couchbase> public method password ] { + + - Parameters [1] { + Parameter #0 [ <required> $password ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\MutationToken ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ <internal:couchbase> static public method from ] { + + - Parameters [4] { + Parameter #0 [ <required> $bucketName ] + Parameter #1 [ <required> $vbucketId ] + Parameter #2 [ <required> $vbucketUuid ] + Parameter #3 [ <required> $sequenceNumber ] + } + } + } + + - Properties [0] { + } + + - Methods [5] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method bucketName ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method vbucketId ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method vbucketUuid ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method sequenceNumber ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\MutationState ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ <internal:couchbase> static public method from ] { + + - Parameters [1] { + Parameter #0 [ <required> $source ] + } + } + } + + - Properties [0] { + } + + - Methods [2] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method add ] { + + - Parameters [1] { + Parameter #0 [ <required> $source ] + } + } + } + } + + Interface [ <internal:couchbase> interface Couchbase\ViewQueryEncodable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ <internal:couchbase> abstract public method encode ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\ViewQuery implements Couchbase\ViewQueryEncodable ] { + + - Constants [5] { + Constant [ public int UPDATE_BEFORE ] { 1 } + Constant [ public int UPDATE_NONE ] { 2 } + Constant [ public int UPDATE_AFTER ] { 3 } + Constant [ public int ORDER_ASCENDING ] { 1 } + Constant [ public int ORDER_DESCENDING ] { 2 } + } + + - Static properties [0] { + } + + - Static methods [2] { + Method [ <internal:couchbase> static public method from ] { + + - Parameters [2] { + Parameter #0 [ <required> $designDocumentName ] + Parameter #1 [ <required> $viewName ] + } + } + + Method [ <internal:couchbase> static public method fromSpatial ] { + + - Parameters [2] { + Parameter #0 [ <required> $designDocumentName ] + Parameter #1 [ <required> $viewName ] + } + } + } + + - Properties [0] { + } + + - Methods [17] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype Couchbase\ViewQueryEncodable> public method encode ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method limit ] { + + - Parameters [1] { + Parameter #0 [ <required> $limit ] + } + } + + Method [ <internal:couchbase> public method skip ] { + + - Parameters [1] { + Parameter #0 [ <required> $skip ] + } + } + + Method [ <internal:couchbase> public method consistency ] { + + - Parameters [1] { + Parameter #0 [ <required> $consistency ] + } + } + + Method [ <internal:couchbase> public method stale ] { + + - Parameters [1] { + Parameter #0 [ <required> $consistency ] + } + } + + Method [ <internal:couchbase> public method custom ] { + + - Parameters [1] { + Parameter #0 [ <required> $options ] + } + } + + Method [ <internal:couchbase> public method order ] { + + - Parameters [1] { + Parameter #0 [ <required> $order ] + } + } + + Method [ <internal:couchbase> public method reduce ] { + + - Parameters [1] { + Parameter #0 [ <required> $reduce ] + } + } + + Method [ <internal:couchbase> public method group ] { + + - Parameters [1] { + Parameter #0 [ <required> $group ] + } + } + + Method [ <internal:couchbase> public method groupLevel ] { + + - Parameters [1] { + Parameter #0 [ <required> $group_level ] + } + } + + Method [ <internal:couchbase> public method group_level ] { + + - Parameters [1] { + Parameter #0 [ <required> $group_level ] + } + } + + Method [ <internal:couchbase> public method key ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:couchbase> public method keys ] { + + - Parameters [1] { + Parameter #0 [ <required> $keys ] + } + } + + Method [ <internal:couchbase> public method range ] { + + - Parameters [3] { + Parameter #0 [ <required> $startKey ] + Parameter #1 [ <required> $endKey ] + Parameter #2 [ <required> $inclusiveEnd ] + } + } + + Method [ <internal:couchbase> public method idRange ] { + + - Parameters [2] { + Parameter #0 [ <required> $startKeyDocumentId ] + Parameter #1 [ <required> $endKeyDocumentId ] + } + } + + Method [ <internal:couchbase> public method id_range ] { + + - Parameters [2] { + Parameter #0 [ <required> $startKeyDocumentId ] + Parameter #1 [ <required> $endKeyDocumentId ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\SpatialViewQuery implements Couchbase\ViewQueryEncodable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ <internal:couchbase> static public method from ] { + + - Parameters [2] { + Parameter #0 [ <required> $designDocumentName ] + Parameter #1 [ <required> $viewName ] + } + } + } + + - Properties [0] { + } + + - Methods [10] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype Couchbase\ViewQueryEncodable> public method encode ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method limit ] { + + - Parameters [1] { + Parameter #0 [ <required> $limit ] + } + } + + Method [ <internal:couchbase> public method skip ] { + + - Parameters [1] { + Parameter #0 [ <required> $skip ] + } + } + + Method [ <internal:couchbase> public method consistency ] { + + - Parameters [1] { + Parameter #0 [ <required> $consistency ] + } + } + + Method [ <internal:couchbase> public method stale ] { + + - Parameters [1] { + Parameter #0 [ <required> $consistency ] + } + } + + Method [ <internal:couchbase> public method bbox ] { + + - Parameters [1] { + Parameter #0 [ <required> $bbox ] + } + } + + Method [ <internal:couchbase> public method startRange ] { + + - Parameters [1] { + Parameter #0 [ <required> $range ] + } + } + + Method [ <internal:couchbase> public method endRange ] { + + - Parameters [1] { + Parameter #0 [ <required> $range ] + } + } + + Method [ <internal:couchbase> public method custom ] { + + - Parameters [1] { + Parameter #0 [ <required> $options ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\AnalyticsQuery ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ <internal:couchbase> static public method fromString ] { + + - Parameters [1] { + Parameter #0 [ <required> $statement ] + } + } + } + + - Properties [1] { + Property [ <default> public $options ] + } + + - Methods [4] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method positionalParams ] { + + - Parameters [1] { + Parameter #0 [ <required> $params ] + } + } + + Method [ <internal:couchbase> public method namedParams ] { + + - Parameters [1] { + Parameter #0 [ <required> $params ] + } + } + + Method [ <internal:couchbase> public method rawParam ] { + + - Parameters [2] { + Parameter #0 [ <required> $name ] + Parameter #1 [ <required> $value ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\N1qlQuery ] { + + - Constants [6] { + Constant [ public int NOT_BOUNDED ] { 1 } + Constant [ public int REQUEST_PLUS ] { 2 } + Constant [ public int STATEMENT_PLUS ] { 3 } + Constant [ public string PROFILE_NONE ] { off } + Constant [ public string PROFILE_PHASES ] { phases } + Constant [ public string PROFILE_TIMINGS ] { timings } + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ <internal:couchbase> static public method fromString ] { + + - Parameters [1] { + Parameter #0 [ <required> $statement ] + } + } + } + + - Properties [1] { + Property [ <default> public $options ] + } + + - Methods [14] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method adhoc ] { + + - Parameters [1] { + Parameter #0 [ <required> $adhoc ] + } + } + + Method [ <internal:couchbase> public method crossBucket ] { + + - Parameters [1] { + Parameter #0 [ <required> $crossBucket ] + } + } + + Method [ <internal:couchbase> public method positionalParams ] { + + - Parameters [1] { + Parameter #0 [ <required> $params ] + } + } + + Method [ <internal:couchbase> public method namedParams ] { + + - Parameters [1] { + Parameter #0 [ <required> $params ] + } + } + + Method [ <internal:couchbase> public method consistency ] { + + - Parameters [1] { + Parameter #0 [ <required> $consistency ] + } + } + + Method [ <internal:couchbase> public method profile ] { + + - Parameters [1] { + Parameter #0 [ <required> $profileType ] + } + } + + Method [ <internal:couchbase> public method consistentWith ] { + + - Parameters [1] { + Parameter #0 [ <required> $mutationState ] + } + } + + Method [ <internal:couchbase> public method scanCap ] { + + - Parameters [1] { + Parameter #0 [ <required> $scanCap ] + } + } + + Method [ <internal:couchbase> public method pipelineBatch ] { + + - Parameters [1] { + Parameter #0 [ <required> $pipelineBatch ] + } + } + + Method [ <internal:couchbase> public method pipelineCap ] { + + - Parameters [1] { + Parameter #0 [ <required> $pipelineCap ] + } + } + + Method [ <internal:couchbase> public method maxParallelism ] { + + - Parameters [1] { + Parameter #0 [ <required> $maxParallelism ] + } + } + + Method [ <internal:couchbase> public method readonly ] { + + - Parameters [1] { + Parameter #0 [ <required> $readonly ] + } + } + + Method [ <internal:couchbase> public method rawParam ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\N1qlIndex ] { + + - Constants [3] { + Constant [ public int VIEW ] { 2 } + Constant [ public int GSI ] { 1 } + Constant [ public int UNSPECIFIED ] { 0 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [8] { + Property [ <default> public $name ] + Property [ <default> public $isPrimary ] + Property [ <default> public $type ] + Property [ <default> public $state ] + Property [ <default> public $keyspace ] + Property [ <default> public $namespace ] + Property [ <default> public $fields ] + Property [ <default> public $condition ] + } + + - Methods [1] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\LookupInBuilder ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [5] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method get ] { + + - Parameters [2] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <optional> $options ] + } + } + + Method [ <internal:couchbase> public method getCount ] { + + - Parameters [2] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <optional> $options ] + } + } + + Method [ <internal:couchbase> public method exists ] { + + - Parameters [2] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <optional> $options ] + } + } + + Method [ <internal:couchbase> public method execute ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\MutateInBuilder ] { + + - Constants [3] { + Constant [ public int FULLDOC_REPLACE ] { 1 } + Constant [ public int FULLDOC_INSERT ] { 2 } + Constant [ public int FULLDOC_UPSERT ] { 3 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [16] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method insert ] { + + - Parameters [3] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <required> $value ] + Parameter #2 [ <required> $createParents ] + } + } + + Method [ <internal:couchbase> public method upsert ] { + + - Parameters [3] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <required> $value ] + Parameter #2 [ <required> $createParents ] + } + } + + Method [ <internal:couchbase> public method modeDocument ] { + + - Parameters [1] { + Parameter #0 [ <required> $mode ] + } + } + + Method [ <internal:couchbase> public method replace ] { + + - Parameters [2] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:couchbase> public method remove ] { + + - Parameters [1] { + Parameter #0 [ <required> $path ] + } + } + + Method [ <internal:couchbase> public method arrayPrepend ] { + + - Parameters [3] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <required> $value ] + Parameter #2 [ <required> $createParents ] + } + } + + Method [ <internal:couchbase> public method arrayAppend ] { + + - Parameters [3] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <required> $value ] + Parameter #2 [ <required> $createParents ] + } + } + + Method [ <internal:couchbase> public method arrayInsert ] { + + - Parameters [2] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:couchbase> public method arrayPrependAll ] { + + - Parameters [3] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <required> $values ] + Parameter #2 [ <required> $createParents ] + } + } + + Method [ <internal:couchbase> public method arrayAppendAll ] { + + - Parameters [3] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <required> $values ] + Parameter #2 [ <required> $createParents ] + } + } + + Method [ <internal:couchbase> public method arrayInsertAll ] { + + - Parameters [2] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <required> $values ] + } + } + + Method [ <internal:couchbase> public method arrayAddUnique ] { + + - Parameters [3] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <required> $value ] + Parameter #2 [ <required> $createParents ] + } + } + + Method [ <internal:couchbase> public method counter ] { + + - Parameters [3] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <required> $delta ] + Parameter #2 [ <required> $createParents ] + } + } + + Method [ <internal:couchbase> public method withExpiry ] { + + - Parameters [1] { + Parameter #0 [ <required> $expiry ] + } + } + + Method [ <internal:couchbase> public method execute ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\SearchQuery implements JsonSerializable ] { + + - Constants [3] { + Constant [ public string HIGHLIGHT_HTML ] { html } + Constant [ public string HIGHLIGHT_ANSI ] { ansi } + Constant [ public string HIGHLIGHT_SIMPLE ] { simple } + } + + - Static properties [0] { + } + + - Static methods [23] { + Method [ <internal:couchbase> static public method booleanField ] { + + - Parameters [1] { + Parameter #0 [ <required> $value ] + } + } + + Method [ <internal:couchbase> static public method boolean ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> static public method conjuncts ] { + + - Parameters [1] { + Parameter #0 [ <required> ...$(queries) ] + } + } + + Method [ <internal:couchbase> static public method dateRange ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> static public method disjuncts ] { + + - Parameters [1] { + Parameter #0 [ <required> ...$(queries) ] + } + } + + Method [ <internal:couchbase> static public method docId ] { + + - Parameters [1] { + Parameter #0 [ <required> ...$(documentIds) ] + } + } + + Method [ <internal:couchbase> static public method match ] { + + - Parameters [1] { + Parameter #0 [ <required> $match ] + } + } + + Method [ <internal:couchbase> static public method matchAll ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> static public method matchNone ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> static public method matchPhrase ] { + + - Parameters [1] { + Parameter #0 [ <required> $matchPhrase ] + } + } + + Method [ <internal:couchbase> static public method numericRange ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> static public method phrase ] { + + - Parameters [1] { + Parameter #0 [ <required> ...$(terms) ] + } + } + + Method [ <internal:couchbase> static public method prefix ] { + + - Parameters [1] { + Parameter #0 [ <required> $prefix ] + } + } + + Method [ <internal:couchbase> static public method queryString ] { + + - Parameters [1] { + Parameter #0 [ <required> $queryString ] + } + } + + Method [ <internal:couchbase> static public method regexp ] { + + - Parameters [1] { + Parameter #0 [ <required> $regexp ] + } + } + + Method [ <internal:couchbase> static public method term ] { + + - Parameters [1] { + Parameter #0 [ <required> $term ] + } + } + + Method [ <internal:couchbase> static public method termRange ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> static public method geoBoundingBox ] { + + - Parameters [4] { + Parameter #0 [ <required> $topLeftLongitude ] + Parameter #1 [ <required> $topLeftLatitude ] + Parameter #2 [ <required> $bottomRightLongitude ] + Parameter #3 [ <required> $bottomRightLatitude ] + } + } + + Method [ <internal:couchbase> static public method geoDistance ] { + + - Parameters [3] { + Parameter #0 [ <required> $longitude ] + Parameter #1 [ <required> $latitude ] + Parameter #2 [ <required> $distance ] + } + } + + Method [ <internal:couchbase> static public method wildcard ] { + + - Parameters [1] { + Parameter #0 [ <required> $wildcard ] + } + } + + Method [ <internal:couchbase> static public method termFacet ] { + + - Parameters [2] { + Parameter #0 [ <required> $field ] + Parameter #1 [ <required> $limit ] + } + } + + Method [ <internal:couchbase> static public method dateRangeFacet ] { + + - Parameters [2] { + Parameter #0 [ <required> $field ] + Parameter #1 [ <required> $limit ] + } + } + + Method [ <internal:couchbase> static public method numericRangeFacet ] { + + - Parameters [2] { + Parameter #0 [ <required> $field ] + Parameter #1 [ <required> $limit ] + } + } + } + + - Properties [0] { + } + + - Methods [11] { + Method [ <internal:couchbase, ctor> public method __construct ] { + + - Parameters [2] { + Parameter #0 [ <required> $indexName ] + Parameter #1 [ <required> $queryPart ] + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method limit ] { + + - Parameters [1] { + Parameter #0 [ <required> $limit ] + } + } + + Method [ <internal:couchbase> public method skip ] { + + - Parameters [1] { + Parameter #0 [ <required> $skip ] + } + } + + Method [ <internal:couchbase> public method explain ] { + + - Parameters [1] { + Parameter #0 [ <required> $explain ] + } + } + + Method [ <internal:couchbase> public method serverSideTimeout ] { + + - Parameters [1] { + Parameter #0 [ <required> $serverSideTimeout ] + } + } + + Method [ <internal:couchbase> public method consistentWith ] { + + - Parameters [1] { + Parameter #0 [ <required> $mutationState ] + } + } + + Method [ <internal:couchbase> public method fields ] { + + - Parameters [1] { + Parameter #0 [ <required> ...$(fields) ] + } + } + + Method [ <internal:couchbase> public method sort ] { + + - Parameters [1] { + Parameter #0 [ <required> ...$(sort) ] + } + } + + Method [ <internal:couchbase> public method highlight ] { + + - Parameters [2] { + Parameter #0 [ <required> $style ] + Parameter #1 [ <optional> ...$(fields) ] + } + } + + Method [ <internal:couchbase> public method addFacet ] { + + - Parameters [2] { + Parameter #0 [ <required> $name ] + Parameter #1 [ <required> $facet ] + } + } + } + } + + Interface [ <internal:couchbase> interface Couchbase\SearchQueryPart ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:couchbase> class Couchbase\BooleanFieldSearchQuery implements JsonSerializable, Couchbase\SearchQueryPart ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [4] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method boost ] { + + - Parameters [1] { + Parameter #0 [ <required> $boost ] + } + } + + Method [ <internal:couchbase> public method field ] { + + - Parameters [1] { + Parameter #0 [ <required> $field ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\BooleanSearchQuery implements JsonSerializable, Couchbase\SearchQueryPart ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [6] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method boost ] { + + - Parameters [1] { + Parameter #0 [ <required> $boost ] + } + } + + Method [ <internal:couchbase> public method must ] { + + - Parameters [1] { + Parameter #0 [ <required> ...$(queries) ] + } + } + + Method [ <internal:couchbase> public method mustNot ] { + + - Parameters [1] { + Parameter #0 [ <required> ...$(queries) ] + } + } + + Method [ <internal:couchbase> public method should ] { + + - Parameters [1] { + Parameter #0 [ <required> ...$(queries) ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\ConjunctionSearchQuery implements JsonSerializable, Couchbase\SearchQueryPart ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [4] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method boost ] { + + - Parameters [1] { + Parameter #0 [ <required> $boost ] + } + } + + Method [ <internal:couchbase> public method every ] { + + - Parameters [1] { + Parameter #0 [ <required> ...$(queries) ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\DateRangeSearchQuery implements JsonSerializable, Couchbase\SearchQueryPart ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [7] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method boost ] { + + - Parameters [1] { + Parameter #0 [ <required> $boost ] + } + } + + Method [ <internal:couchbase> public method field ] { + + - Parameters [1] { + Parameter #0 [ <required> $field ] + } + } + + Method [ <internal:couchbase> public method start ] { + + - Parameters [2] { + Parameter #0 [ <required> $start ] + Parameter #1 [ <required> $inclusive ] + } + } + + Method [ <internal:couchbase> public method end ] { + + - Parameters [2] { + Parameter #0 [ <required> $end ] + Parameter #1 [ <required> $inclusive ] + } + } + + Method [ <internal:couchbase> public method dateTimeParser ] { + + - Parameters [1] { + Parameter #0 [ <required> $dateTimeParser ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\DisjunctionSearchQuery implements JsonSerializable, Couchbase\SearchQueryPart ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [5] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method boost ] { + + - Parameters [1] { + Parameter #0 [ <required> $boost ] + } + } + + Method [ <internal:couchbase> public method either ] { + + - Parameters [1] { + Parameter #0 [ <required> ...$(queries) ] + } + } + + Method [ <internal:couchbase> public method min ] { + + - Parameters [1] { + Parameter #0 [ <required> $min ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\DocIdSearchQuery implements JsonSerializable, Couchbase\SearchQueryPart ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [5] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method boost ] { + + - Parameters [1] { + Parameter #0 [ <required> $boost ] + } + } + + Method [ <internal:couchbase> public method field ] { + + - Parameters [1] { + Parameter #0 [ <required> $field ] + } + } + + Method [ <internal:couchbase> public method docIds ] { + + - Parameters [1] { + Parameter #0 [ <required> ...$(documentIds) ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\GeoBoundingBoxSearchQuery implements JsonSerializable, Couchbase\SearchQueryPart ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [4] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method boost ] { + + - Parameters [1] { + Parameter #0 [ <required> $boost ] + } + } + + Method [ <internal:couchbase> public method field ] { + + - Parameters [1] { + Parameter #0 [ <required> $field ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\GeoDistanceSearchQuery implements JsonSerializable, Couchbase\SearchQueryPart ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [4] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method boost ] { + + - Parameters [1] { + Parameter #0 [ <required> $boost ] + } + } + + Method [ <internal:couchbase> public method field ] { + + - Parameters [1] { + Parameter #0 [ <required> $field ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\MatchAllSearchQuery implements JsonSerializable, Couchbase\SearchQueryPart ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [3] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method boost ] { + + - Parameters [1] { + Parameter #0 [ <required> $boost ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\MatchNoneSearchQuery implements JsonSerializable, Couchbase\SearchQueryPart ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [3] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method boost ] { + + - Parameters [1] { + Parameter #0 [ <required> $boost ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\MatchPhraseSearchQuery implements JsonSerializable, Couchbase\SearchQueryPart ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [5] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method boost ] { + + - Parameters [1] { + Parameter #0 [ <required> $boost ] + } + } + + Method [ <internal:couchbase> public method field ] { + + - Parameters [1] { + Parameter #0 [ <required> $field ] + } + } + + Method [ <internal:couchbase> public method analyzer ] { + + - Parameters [1] { + Parameter #0 [ <required> $analyzer ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\MatchSearchQuery implements JsonSerializable, Couchbase\SearchQueryPart ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [7] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method boost ] { + + - Parameters [1] { + Parameter #0 [ <required> $boost ] + } + } + + Method [ <internal:couchbase> public method field ] { + + - Parameters [1] { + Parameter #0 [ <required> $field ] + } + } + + Method [ <internal:couchbase> public method analyzer ] { + + - Parameters [1] { + Parameter #0 [ <required> $analyzer ] + } + } + + Method [ <internal:couchbase> public method prefixLength ] { + + - Parameters [1] { + Parameter #0 [ <required> $prefixLength ] + } + } + + Method [ <internal:couchbase> public method fuzziness ] { + + - Parameters [1] { + Parameter #0 [ <required> $fuzziness ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\NumericRangeSearchQuery implements JsonSerializable, Couchbase\SearchQueryPart ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [6] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method boost ] { + + - Parameters [1] { + Parameter #0 [ <required> $boost ] + } + } + + Method [ <internal:couchbase> public method field ] { + + - Parameters [1] { + Parameter #0 [ <required> $field ] + } + } + + Method [ <internal:couchbase> public method min ] { + + - Parameters [2] { + Parameter #0 [ <required> $min ] + Parameter #1 [ <required> $inclusive ] + } + } + + Method [ <internal:couchbase> public method max ] { + + - Parameters [2] { + Parameter #0 [ <required> $max ] + Parameter #1 [ <required> $inclusive ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\PhraseSearchQuery implements JsonSerializable, Couchbase\SearchQueryPart ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [4] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method boost ] { + + - Parameters [1] { + Parameter #0 [ <required> $boost ] + } + } + + Method [ <internal:couchbase> public method field ] { + + - Parameters [1] { + Parameter #0 [ <required> $field ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\PrefixSearchQuery implements JsonSerializable, Couchbase\SearchQueryPart ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [4] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method boost ] { + + - Parameters [1] { + Parameter #0 [ <required> $boost ] + } + } + + Method [ <internal:couchbase> public method field ] { + + - Parameters [1] { + Parameter #0 [ <required> $field ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\QueryStringSearchQuery implements JsonSerializable, Couchbase\SearchQueryPart ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [3] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method boost ] { + + - Parameters [1] { + Parameter #0 [ <required> $boost ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\RegexpSearchQuery implements JsonSerializable, Couchbase\SearchQueryPart ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [4] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method boost ] { + + - Parameters [1] { + Parameter #0 [ <required> $boost ] + } + } + + Method [ <internal:couchbase> public method field ] { + + - Parameters [1] { + Parameter #0 [ <required> $field ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\TermSearchQuery implements JsonSerializable, Couchbase\SearchQueryPart ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [6] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method boost ] { + + - Parameters [1] { + Parameter #0 [ <required> $boost ] + } + } + + Method [ <internal:couchbase> public method field ] { + + - Parameters [1] { + Parameter #0 [ <required> $field ] + } + } + + Method [ <internal:couchbase> public method prefixLength ] { + + - Parameters [1] { + Parameter #0 [ <required> $prefixLength ] + } + } + + Method [ <internal:couchbase> public method fuzziness ] { + + - Parameters [1] { + Parameter #0 [ <required> $fuzziness ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\TermRangeSearchQuery implements JsonSerializable, Couchbase\SearchQueryPart ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [6] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method boost ] { + + - Parameters [1] { + Parameter #0 [ <required> $boost ] + } + } + + Method [ <internal:couchbase> public method field ] { + + - Parameters [1] { + Parameter #0 [ <required> $field ] + } + } + + Method [ <internal:couchbase> public method min ] { + + - Parameters [2] { + Parameter #0 [ <required> $min ] + Parameter #1 [ <required> $inclusive ] + } + } + + Method [ <internal:couchbase> public method max ] { + + - Parameters [2] { + Parameter #0 [ <required> $max ] + Parameter #1 [ <required> $inclusive ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\WildcardSearchQuery implements JsonSerializable, Couchbase\SearchQueryPart ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [4] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method boost ] { + + - Parameters [1] { + Parameter #0 [ <required> $boost ] + } + } + + Method [ <internal:couchbase> public method field ] { + + - Parameters [1] { + Parameter #0 [ <required> $field ] + } + } + } + } + + Interface [ <internal:couchbase> interface Couchbase\SearchFacet ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:couchbase> class Couchbase\TermSearchFacet implements JsonSerializable, Couchbase\SearchFacet ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [2] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\NumericRangeSearchFacet implements JsonSerializable, Couchbase\SearchFacet ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [3] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method addRange ] { + + - Parameters [3] { + Parameter #0 [ <required> $name ] + Parameter #1 [ <required> $min ] + Parameter #2 [ <required> $max ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\DateRangeSearchFacet implements JsonSerializable, Couchbase\SearchFacet ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [3] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method addRange ] { + + - Parameters [3] { + Parameter #0 [ <required> $name ] + Parameter #1 [ <required> $start ] + Parameter #2 [ <optional> $end ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\SearchSort ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [4] { + Method [ <internal:couchbase> static public method id ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> static public method score ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> static public method field ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> static public method geoDistance ] { + + - Parameters [0] { + } + } + } + + - Properties [0] { + } + + - Methods [1] { + Method [ <internal:couchbase, ctor> private method __construct ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\SearchSortField extends Couchbase\SearchSort implements JsonSerializable ] { + + - Constants [9] { + Constant [ public string TYPE_AUTO ] { auto } + Constant [ public string TYPE_STRING ] { string } + Constant [ public string TYPE_NUMBER ] { number } + Constant [ public string TYPE_DATE ] { date } + Constant [ public string MODE_DEFAULT ] { default } + Constant [ public string MODE_MIN ] { min } + Constant [ public string MODE_MAX ] { max } + Constant [ public string MISSING_FIRST ] { first } + Constant [ public string MISSING_LAST ] { last } + } + + - Static properties [0] { + } + + - Static methods [4] { + Method [ <internal:couchbase, inherits Couchbase\SearchSort> static public method id ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, inherits Couchbase\SearchSort> static public method score ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, inherits Couchbase\SearchSort> static public method field ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, inherits Couchbase\SearchSort> static public method geoDistance ] { + + - Parameters [0] { + } + } + } + + - Properties [0] { + } + + - Methods [6] { + Method [ <internal:couchbase, overwrites Couchbase\SearchSort, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method descending ] { + + - Parameters [1] { + Parameter #0 [ <required> $descending ] + } + } + + Method [ <internal:couchbase> public method type ] { + + - Parameters [1] { + Parameter #0 [ <required> $type ] + } + } + + Method [ <internal:couchbase> public method mode ] { + + - Parameters [1] { + Parameter #0 [ <required> $mode ] + } + } + + Method [ <internal:couchbase> public method missing ] { + + - Parameters [1] { + Parameter #0 [ <required> $missing ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\SearchSortGeoDistance extends Couchbase\SearchSort implements JsonSerializable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [4] { + Method [ <internal:couchbase, inherits Couchbase\SearchSort> static public method id ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, inherits Couchbase\SearchSort> static public method score ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, inherits Couchbase\SearchSort> static public method field ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, inherits Couchbase\SearchSort> static public method geoDistance ] { + + - Parameters [0] { + } + } + } + + - Properties [0] { + } + + - Methods [4] { + Method [ <internal:couchbase, overwrites Couchbase\SearchSort, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method descending ] { + + - Parameters [1] { + Parameter #0 [ <required> $descending ] + } + } + + Method [ <internal:couchbase> public method unit ] { + + - Parameters [1] { + Parameter #0 [ <required> $missing ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\SearchSortId extends Couchbase\SearchSort implements JsonSerializable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [4] { + Method [ <internal:couchbase, inherits Couchbase\SearchSort> static public method id ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, inherits Couchbase\SearchSort> static public method score ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, inherits Couchbase\SearchSort> static public method field ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, inherits Couchbase\SearchSort> static public method geoDistance ] { + + - Parameters [0] { + } + } + } + + - Properties [0] { + } + + - Methods [3] { + Method [ <internal:couchbase, overwrites Couchbase\SearchSort, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method descending ] { + + - Parameters [1] { + Parameter #0 [ <required> $descending ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\SearchSortScore extends Couchbase\SearchSort implements JsonSerializable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [4] { + Method [ <internal:couchbase, inherits Couchbase\SearchSort> static public method id ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, inherits Couchbase\SearchSort> static public method score ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, inherits Couchbase\SearchSort> static public method field ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, inherits Couchbase\SearchSort> static public method geoDistance ] { + + - Parameters [0] { + } + } + } + + - Properties [0] { + } + + - Methods [3] { + Method [ <internal:couchbase, overwrites Couchbase\SearchSort, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase, prototype JsonSerializable> public method jsonSerialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method descending ] { + + - Parameters [1] { + Parameter #0 [ <required> $descending ] + } + } + } + } + + Class [ <internal:couchbase> abstract class Couchbase\CryptoProvider ] { + + - Constants [2] { + Constant [ public int KEY_TYPE_ENCRYPT ] { 0 } + Constant [ public int KEY_TYPE_DECRYPT ] { 1 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [7] { + Method [ <internal:couchbase> abstract public method encrypt ] { + + - Parameters [2] { + Parameter #0 [ <required> string $bytes ] + Parameter #1 [ <required> string $iv ] + } + } + + Method [ <internal:couchbase> abstract public method decrypt ] { + + - Parameters [2] { + Parameter #0 [ <required> string $bytes ] + Parameter #1 [ <required> string $iv ] + } + } + + Method [ <internal:couchbase> public method getKeyId ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method generateIV ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method sign ] { + + - Parameters [1] { + Parameter #0 [ <required> array $bytes ] + } + } + + Method [ <internal:couchbase> public method verifySignature ] { + + - Parameters [2] { + Parameter #0 [ <required> array $bytes ] + Parameter #1 [ <required> string $signature ] + } + } + + Method [ <internal, deprecated:couchbase> public method loadKey ] { + + - Parameters [2] { + Parameter #0 [ <required> int $keyType ] + Parameter #1 [ <required> string $keyId ] + } + } + } + } + + Class [ <internal:couchbase> class Couchbase\SearchIndexManager ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [10] { + Method [ <internal:couchbase, ctor> final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method listIndexes ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method getIndex ] { + + - Parameters [1] { + Parameter #0 [ <required> $name ] + } + } + + Method [ <internal:couchbase> public method createIndex ] { + + - Parameters [2] { + Parameter #0 [ <required> $name ] + Parameter #1 [ <required> $indexDefinition ] + } + } + + Method [ <internal:couchbase> public method deleteIndex ] { + + - Parameters [1] { + Parameter #0 [ <required> $name ] + } + } + + Method [ <internal:couchbase> public method getIndexedDocumentsCount ] { + + - Parameters [1] { + Parameter #0 [ <required> $name ] + } + } + + Method [ <internal:couchbase> public method listIndexDefinitions ] { + + - Parameters [0] { + } + } + + Method [ <internal:couchbase> public method listIndexDefinition ] { + + - Parameters [1] { + Parameter #0 [ <required> $name ] + } + } + + Method [ <internal:couchbase> public method getIndexDefinition ] { + + - Parameters [1] { + Parameter #0 [ <required> $name ] + } + } + + Method [ <internal:couchbase> public method getIndexedDocumentCount ] { + + - Parameters [1] { + Parameter #0 [ <required> $name ] + } + } + } + } + } +} + diff --git a/php-pecl-couchbase3.spec b/php-pecl-couchbase3.spec new file mode 100644 index 0000000..6fa9291 --- /dev/null +++ b/php-pecl-couchbase3.spec @@ -0,0 +1,436 @@ +# remirepo spec file for php-pecl-couchbase2 +# +# Copyright (c) 2013-2020 Remi Collet +# License: CC-BY-SA +# http://creativecommons.org/licenses/by-sa/4.0/ +# +# Please, preserve the changelog entries +# + +# we don't want -z defs linker flag +%undefine _strict_symbol_defs_build + +%if 0%{?scl:1} +%global sub_prefix %{scl_prefix} +%scl_package php-pecl-couchbase2 +%endif + +%global pecl_name couchbase +%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} +# After 20-tokenizer.ini, 40-igbinary and 40-json +%global ini_name 50-%{pecl_name}.ini +#global prever beta4 + +%global libbuildver %(pkg-config --silence-errors --modversion libcouchbase 2>/dev/null || echo 65536) + +Summary: Couchbase Server PHP extension +Name: %{?sub_prefix}php-pecl-couchbase2 +Version: 2.6.2 +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +License: PHP +URL: https://pecl.php.net/package/couchbase +Source0: https://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz + +BuildRequires: %{?dtsprefix}gcc +BuildRequires: %{?scl_prefix}php-devel >= 5.6 +BuildRequires: %{?scl_prefix}php-pear +BuildRequires: %{?scl_prefix}php-pecl-igbinary-devel +BuildRequires: %{?scl_prefix}php-json +BuildRequires: %{?scl_prefix}php-tokenizer +BuildRequires: pkgconfig(libcouchbase) >= 2.10.5 +BuildRequires: fastlz-devel +BuildRequires: zlib-devel + +Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} +Requires: %{?scl_prefix}php(api) = %{php_core_api} +Requires: %{?scl_prefix}php-json%{?_isa} +Requires: %{?scl_prefix}php-igbinary%{?_isa} +Requires: %{?scl_prefix}php-tokenizer%{?_isa} +Requires: libcouchbase%{?_isa} >= %{libbuildver} +%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}} + +Provides: %{?scl_prefix}php-%{pecl_name} = %{version} +Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} +Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} +Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} +%if "%{?scl_prefix}" != "%{?sub_prefix}" +Provides: %{?scl_prefix}php-pecl-%{pecl_name}2 = %{version}-%{release} +Provides: %{?scl_prefix}php-pecl-%{pecl_name}2%{?_isa} = %{version}-%{release} +%endif +%if "%{php_version}" > "7.0" +Obsoletes: %{?scl_prefix}php-pecl-couchbase < 2 +Provides: %{?scl_prefix}php-pecl-couchbase = %{version} +Provides: %{?scl_prefix}php-pecl-couchbase%{?_isa} = %{version} +%else +# Only 1 version can be installed +Conflicts: %{?scl_prefix}php-pecl-couchbase < 2 +%endif + +%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} +# Other third party repo stuff +%if "%{php_version}" > "7.2" +Obsoletes: php72u-pecl-%{pecl_name}2 <= %{version} +Obsoletes: php72w-pecl-%{pecl_name}2 <= %{version} +%endif +%if "%{php_version}" > "7.3" +Obsoletes: php73-pecl-%{pecl_name}2 <= %{version} +Obsoletes: php73w-pecl-%{pecl_name}2 <= %{version} +%endif +%if "%{php_version}" > "7.4" +Obsoletes: php74-pecl-%{pecl_name}2 <= %{version} +Obsoletes: php74w-pecl-%{pecl_name}2 <= %{version} +%endif +%endif + +%if 0%{?fedora} < 20 && 0%{?rhel} < 7 +# Filter private shared +%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$} +%{?filter_setup} +%endif + + +%description +The PHP client library provides fast access to documents stored +in a Couchbase Server. + +%{?scl_prefix}php-pecl-couchbase provides API version 1. +This package provides API version 2. + +Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}. + + +%prep +%setup -q -c +mv %{pecl_name}-%{version}%{?prever} NTS + +%{?_licensedir:sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml} + +cd NTS +# Drop bundled library +sed -e '/fastlz/d' -i ../package.xml +rm -r fastlz + +# Sanity check, really often broken +extver=$(sed -n '/#define PHP_COUCHBASE_VERSION/{s/.* "//;s/".*$//;p}' php_couchbase.h) +if test "x${extver}" != "x%{version}%{?prever}"; then + : Error: Upstream extension version is ${extver}, expecting %{version}%{?prever} + exit 1 +fi +cd .. + +cat << 'EOF' | tee %{ini_name} +; Enable %{pecl_name} extension module +extension=%{pecl_name}.so + +; Configuration +;couchbase.log_level = 'WARN' +;couchbase.encoder.format = 'json' +;couchbase.encoder.compression = 'off' +;couchbase.encoder.compression_threshold = 0 +;couchbase.encoder.compression_factor = 0.0 +;couchbase.decoder.json_arrays = 0 +;couchbase.pool.max_idle_time_sec = 60 +EOF + +%if 0%{?__ztsphp:1} +# duplicate for ZTS build +cp -pr NTS ZTS +%else +: Only NTS build, no ZTS +%endif + + +%build +%{?dtsenable} + +peclconf() { +%configure \ + --with-system-fastlz \ + --with-php-config=$1 +} + +cd NTS +%{_bindir}/phpize +peclconf %{_bindir}/php-config +make %{?_smp_mflags} + +%if %{with_zts} +cd ../ZTS +%{_bindir}/zts-phpize +peclconf %{_bindir}/zts-php-config +make %{?_smp_mflags} +%endif + + +%install +%{?dtsenable} + +# Install the NTS stuff +make install -C NTS INSTALL_ROOT=%{buildroot} +install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name} + +# Install the ZTS stuff +%if %{with_zts} +make install -C ZTS INSTALL_ROOT=%{buildroot} +install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name} +%endif + +# Install the package XML file +install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml + +# Test & Documentation +cd NTS +for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') +do install -Dpm 644 $i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i +done + + +%check +: minimal NTS load test +%{__php} -n \ + -d extension=tokenizer.so \ + -d extension=igbinary.so \ + -d extension=json.so \ + -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \ + -m | grep %{pecl_name} + +%if %{with_zts} +: minimal ZTS load test +%{__ztsphp} -n \ + -d extension=tokenizer.so \ + -d extension=igbinary.so \ + -d extension=json.so \ + -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \ + -m | grep %{pecl_name} +%endif + + +%if 0%{?fedora} < 24 && 0%{?rhel} < 8 +%triggerin -- %{?scl_prefix}php-pear +if [ -x %{__pecl} ] ; then + %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || : +fi + +# posttrans as pear can be installed after us +%posttrans +if [ -x %{__pecl} ] ; then + %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || : +fi + +%postun +if [ $1 -eq 0 -a -x %{__pecl} ] ; then + %{pecl_uninstall} %{pecl_name} >/dev/null || : +fi +%endif + + +%files +%{?_licensedir:%license NTS/LICENSE} +%doc %{pecl_docdir}/%{pecl_name} +%{pecl_xmldir}/%{name}.xml + +%config(noreplace) %{php_inidir}/%{ini_name} +%{php_extdir}/%{pecl_name}.so + +%if %{with_zts} +%config(noreplace) %{php_ztsinidir}/%{ini_name} +%{php_ztsextdir}/%{pecl_name}.so +%endif + + + +%changelog +* Tue Feb 4 2020 Remi Collet <remi@remirepo.net> - 2.6.2-1 +- update to 2.6.2 + +* Tue Jan 28 2020 Remi Collet <remi@remirepo.net> - 2.6.1-4 +- add upstream patch to fix segfault in timeout + +* Fri Jan 17 2020 Remi Collet <remi@remirepo.net> - 2.6.1-3 +- rebuild against libcouchase 2.10.5 for + https://github.com/remicollet/remirepo/issues/136 + +* Tue Sep 03 2019 Remi Collet <remi@remirepo.net> - 2.6.1-2 +- rebuild for 7.4.0RC1 + +* Mon Jun 3 2019 Remi Collet <remi@remirepo.net> - 2.6.1-1 +- update to 2.6.1 + +* Sat Oct 6 2018 Remi Collet <remi@remirepo.net> - 2.6.0-1 +- update to 2.6.0 +- raise dependency on libcouchbase 2.9.5 + +* Thu Aug 16 2018 Remi Collet <remi@remirepo.net> - 2.5.0-3 +- rebuild for 7.3.0beta2 new ABI + +* Tue Jul 17 2018 Remi Collet <remi@remirepo.net> - 2.5.0-2 +- rebuld for 7.3.0alpha4 new ABI + +* Thu Jul 5 2018 Remi Collet <remi@remirepo.net> - 2.5.0-1 +- update to 2.5.0 +- raise dependency on libcouchbase 2.9.2 + +* Fri Jun 22 2018 Remi Collet <remi@remirepo.net> - 2.4.7-2 +- add patch for PHP 7.3 from + https://github.com/couchbase/php-couchbase/pull/22 + +* Fri Jun 8 2018 Remi Collet <remi@remirepo.net> - 2.4.7-1 +- update to 2.4.7 +- raise dependency on libcouchbase 2.9.0 + +* Mon Apr 16 2018 Remi Collet <remi@remirepo.net> - 2.4.6-1 +- update to 2.4.6 +- raise dependency on libcouchbase 2.8.6 + +* Sun Mar 11 2018 Remi Collet <remi@remirepo.net> - 2.4.5-1 +- update to 2.4.5 + +* Tue Feb 13 2018 Remi Collet <remi@remirepo.net> - 2.4.4-1 +- Update to 2.4.4 + +* Fri Jan 5 2018 Remi Collet <remi@remirepo.net> - 2.4.3-1 +- Update to 2.4.3 +- raise dependency on libcouchbase 2.8.4 + +* Tue Nov 14 2017 Remi Collet <remi@remirepo.net> - 2.4.2-1 +- Update to 2.4.2 + +* Thu Oct 5 2017 Remi Collet <remi@remirepo.net> - 2.4.1-1 +- Update to 2.4.1 +- update provided configuration for couchbase.pool.max_idle_time_sec + +* Wed Sep 20 2017 Remi Collet <remi@remirepo.net> - 2.4.0-2 +- rebuild with libcouchbase 2.8.1 + +* Tue Sep 5 2017 Remi Collet <remi@remirepo.net> - 2.4.0-1 +- Update to 2.4.0 +- raise minimal PHP version to 5.6 +- raise dependency on libcouchbase 2.8 + +* Tue Aug 1 2017 Remi Collet <remi@remirepo.net> - 2.3.4-1 +- Update to 2.3.4 + +* Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 2.3.3-3 +- rebuild for PHP 7.2.0beta1 new API + +* Wed Jun 21 2017 Remi Collet <remi@remirepo.net> - 2.3.3-2 +- rebuild for 7.2.0alpha2 + +* Thu Jun 1 2017 Remi Collet <remi@remirepo.net> - 2.3.3-1 +- Update to 2.3.3 +- raise dependency on libcouchbase 2.7.5 + +* Tue May 2 2017 Remi Collet <remi@remirepo.net> - 2.3.2-1 +- Update to 2.3.2 + +* Wed Apr 5 2017 Remi Collet <remi@remirepo.net> - 2.3.1-1 +- Update to 2.3.1 + +* Wed Mar 8 2017 Remi Collet <remi@remirepo.net> - 2.3.0-1 +- Update to 2.3.0 +- drop dependency on pcs extension +- add dependency on igbinary extension +- raise dependency on libcouchbase 2.7.2 +- update default configuration with new options + +* Tue Dec 27 2016 Remi Collet <remi@fedoraproject.org> - 2.2.4-1 +- Update to 2.2.4 +- add dependency on pcs extension + +* Thu Dec 1 2016 Remi Collet <remi@fedoraproject.org> - 2.2.3-2 +- rebuild with PHP 7.1.0 GA + +* Wed Oct 05 2016 Remi Collet <remi@fedoraproject.org> - 2.2.3-1 +- Update to 2.2.3 +- open https://issues.couchbase.com/browse/PCBC-437 - visibility error + +* Wed Sep 14 2016 Remi Collet <remi@fedoraproject.org> - 2.2.2-2 +- rebuild for PHP 7.1 new API version + +* Wed Sep 07 2016 Remi Collet <remi@fedoraproject.org> - 2.2.2-1 +- Update to 2.2.2 + +* Mon Aug 08 2016 Remi Collet <remi@fedoraproject.org> - 2.2.1-1 +- Update to 2.2.1 + +* Thu Jul 7 2016 Remi Collet <remi@fedoraproject.org> - 2.2.0-1 +- Update to 2.2.0 (php 5 and 7, stable) + +* Wed Jun 29 2016 Remi Collet <remi@fedoraproject.org> - 2.2.0-0.3.beta4 +- Update to 2.2.0beta4 (php 5 and 7, beta) + +* Thu May 26 2016 Remi Collet <remi@fedoraproject.org> - 2.2.0-0.2.beta3 +- Update to 2.2.0beta3 (php 5 and 7, beta) + +* Sun Mar 20 2016 Remi Collet <remi@fedoraproject.org> - 2.2.0-0.1.beta1 +- Update to 2.2.0beta2 (php 5 and 7, beta) + +* Tue Mar 8 2016 Remi Collet <remi@fedoraproject.org> - 2.1.0-2 +- adapt for F24 + +* Thu Nov 05 2015 Remi Collet <remi@fedoraproject.org> - 2.1.0-1 +- Update to 2.1.0 +- add patch to use system fastlz library + from https://github.com/couchbase/php-couchbase/pull/10 + +* Wed Apr 22 2015 Remi Collet <remi@fedoraproject.org> - 2.0.7-1 +- Update to 2.0.7 + +* Wed Apr 08 2015 Remi Collet <remi@fedoraproject.org> - 2.0.6-1 +- Update to 2.0.6 (stable) + +* Wed Mar 04 2015 Remi Collet <remi@fedoraproject.org> - 2.0.5-1 +- Update to 2.0.5 (stable) + +* Mon Feb 09 2015 Remi Collet <remi@fedoraproject.org> - 2.0.4-1 +- Update to 2.0.4 (stable) +- drop runtime dependency on pear, new scriptlet + +* Wed Jan 07 2015 Remi Collet <remi@fedoraproject.org> - 2.0.3-1 +- Update to 2.0.3 + +* Wed Dec 24 2014 Remi Collet <remi@fedoraproject.org> - 2.0.2-1.1 +- Fedora 21 SCL mass rebuild + +* Wed Dec 03 2014 Remi Collet <remi@fedoraproject.org> - 2.0.2-1 +- Update to 2.0.2 + +* Wed Nov 05 2014 Remi Collet <remi@fedoraproject.org> - 2.0.1-1 +- Update to 2.0.1 + +* Sat Sep 20 2014 Remi Collet <remi@fedoraproject.org> - 2.0.0-1 +- rename to php-pecl-couchbase2 for new API +- update to 2.0.0 +- open http://www.couchbase.com/issues/browse/PCBC-292 license +- open http://www.couchbase.com/issues/browse/PCBC-293 fastlz +- open http://www.couchbase.com/issues/browse/PCBC-294 xdebug + +* Sat Sep 6 2014 Remi Collet <remi@fedoraproject.org> - 1.2.2-3 +- test build with system fastlz + +* Tue Aug 26 2014 Remi Collet <rcollet@redhat.com> - 1.2.2-2 +- improve SCL build + +* Mon May 12 2014 Remi Collet <remi@fedoraproject.org> - 1.2.2-1 +- Update to 1.2.2 + +* Wed Apr 9 2014 Remi Collet <remi@fedoraproject.org> - 1.2.1-4 +- add numerical prefix to extension configuration file + +* Sun Mar 16 2014 Remi Collet <remi@fedoraproject.org> - 1.2.1-2 +- install doc in pecl_docdir + +* Sat Oct 05 2013 Remi Collet <remi@fedoraproject.org> - 1.2.1-1 +- Update to 1.2.1 +- add patch to fix ZTS build + https://github.com/couchbase/php-ext-couchbase/pull/9 + +* Mon May 13 2013 Remi Collet <remi@fedoraproject.org> - 1.1.15-2 +- fix dependency on php-pecl-igbinary + +* Thu May 9 2013 Remi Collet <remi@fedoraproject.org> - 1.1.15-1 +- update to 1.1.15 (no change) + +* Fri Mar 22 2013 Remi Collet <remi@fedoraproject.org> - 1.1.14-1 +- initial package + |