diff options
-rw-r--r-- | REFLECTION | 110 | ||||
-rw-r--r-- | php-pecl-couchbase2.spec | 9 |
2 files changed, 114 insertions, 5 deletions
@@ -1,4 +1,4 @@ -Extension [ <persistent> extension #179 couchbase version 2.4.5 ] { +Extension [ <persistent> extension #182 couchbase version 2.4.6 ] { - Dependencies { Dependency [ json (Required) ] @@ -332,7 +332,7 @@ Extension [ <persistent> extension #179 couchbase version 2.4.5 ] { } } - - Classes [52] { + - Classes [53] { Class [ <internal:couchbase> class Couchbase\Exception extends Exception implements Throwable ] { - Constants [0] { @@ -637,7 +637,7 @@ Extension [ <persistent> extension #179 couchbase version 2.4.5 ] { - Properties [0] { } - - Methods [43] { + - Methods [48] { Method [ <internal:couchbase, ctor> final private method __construct ] { - Parameters [0] { @@ -667,6 +667,12 @@ Extension [ <persistent> extension #179 couchbase version 2.4.5 ] { } } + Method [ <internal:couchbase> public method getName ] { + + - Parameters [0] { + } + } + Method [ <internal:couchbase> public method get ] { - Parameters [2] { @@ -980,6 +986,38 @@ Extension [ <persistent> extension #179 couchbase version 2.4.5 ] { 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 encryptDocument ] { + + - Parameters [3] { + Parameter #0 [ <required> $document ] + Parameter #1 [ <required> array $options ] + Parameter #2 [ <optional> string $prefix ] + } + } + + Method [ <internal:couchbase> public method decryptDocument ] { + + - Parameters [2] { + Parameter #0 [ <required> $document ] + Parameter #1 [ <optional> string $prefix ] + } + } } } @@ -3623,6 +3661,72 @@ Extension [ <persistent> extension #179 couchbase version 2.4.5 ] { } } } + + Class [ <internal:couchbase> abstract class Couchbase\CryptoProvider ] { + + - Constants [2] { + Constant [ public integer KEY_TYPE_ENCRYPT ] { 0 } + Constant [ public integer KEY_TYPE_DECRYPT ] { 1 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [6] { + Method [ <internal:couchbase> abstract public method loadKey ] { + + - Parameters [2] { + Parameter #0 [ <required> integer $keyType ] + Parameter #1 [ <required> string $keyId ] + } + } + + Method [ <internal:couchbase> abstract public method encrypt ] { + + - Parameters [3] { + Parameter #0 [ <required> string $bytes ] + Parameter #1 [ <required> string $key ] + Parameter #2 [ <optional> string $iv ] + } + } + + Method [ <internal:couchbase> abstract public method decrypt ] { + + - Parameters [3] { + Parameter #0 [ <required> string $bytes ] + Parameter #1 [ <required> string $key ] + Parameter #2 [ <optional> string $iv ] + } + } + + 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 ] + } + } + } + } } } diff --git a/php-pecl-couchbase2.spec b/php-pecl-couchbase2.spec index 28a51f3..21dd542 100644 --- a/php-pecl-couchbase2.spec +++ b/php-pecl-couchbase2.spec @@ -25,18 +25,19 @@ Summary: Couchbase Server PHP extension Name: %{?sub_prefix}php-pecl-couchbase2 -Version: 2.4.5 +Version: 2.4.6 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP URL: http://pecl.php.net/package/couchbase Source0: http://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.8.4 +BuildRequires: pkgconfig(libcouchbase) >= 2.8.6 BuildRequires: fastlz-devel BuildRequires: zlib-devel @@ -241,6 +242,10 @@ fi %changelog +* 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 |