From 51ae2f86d26b4951929e35535265bc892ad59e25 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 11 Sep 2021 08:14:38 +0200 Subject: update to 0.1.1 (stable) --- PHPINFO | 2 +- REFLECTION | 245 ++++++++++++++++++++++++++++++++++++++++++++++++++++- php-pecl-teds.spec | 9 +- 3 files changed, 249 insertions(+), 7 deletions(-) diff --git a/PHPINFO b/PHPINFO index 3ea0a39..abf08d7 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,4 +2,4 @@ teds teds support => enabled -teds version => 0.1.0a1 +teds version => 0.1.1 diff --git a/REFLECTION b/REFLECTION index 924bd2c..7f19be4 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #81 teds version 0.1.0a1 ] { +Extension [ extension #82 teds version 0.1.1 ] { - Functions { Function [ function Teds\any ] { @@ -53,7 +53,7 @@ Extension [ extension #81 teds version 0.1.0a1 ] { } } - - Classes [4] { + - Classes [5] { Class [ final class Teds\Deque implements IteratorAggregate, Traversable, Countable, JsonSerializable, ArrayAccess ] { - Constants [0] { @@ -267,7 +267,7 @@ Extension [ extension #81 teds version 0.1.0a1 ] { - Properties [0] { } - - Methods [11] { + - Methods [15] { Method [ public method __construct ] { - Parameters [1] { @@ -341,6 +341,38 @@ Extension [ extension #81 teds version 0.1.0a1 ] { - Return [ mixed ] } + Method [ public method indexOfKey ] { + + - Parameters [1] { + Parameter #0 [ mixed $key ] + } + - Return [ int|false ] + } + + Method [ public method indexOfValue ] { + + - Parameters [1] { + Parameter #0 [ mixed $value ] + } + - Return [ int|false ] + } + + Method [ public method containsKey ] { + + - Parameters [1] { + Parameter #0 [ mixed $key ] + } + - Return [ bool ] + } + + Method [ public method containsValue ] { + + - Parameters [1] { + Parameter #0 [ mixed $value ] + } + - Return [ bool ] + } + Method [ public method jsonSerialize ] { - Parameters [0] { @@ -481,6 +513,213 @@ Extension [ extension #81 teds version 0.1.0a1 ] { } } + Class [ final class Teds\KeyValueVector implements IteratorAggregate, Traversable, Countable, JsonSerializable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [2] { + Method [ static public method fromPairs ] { + + - Parameters [1] { + Parameter #0 [ iterable $pairs ] + } + - Return [ Teds\KeyValueVector ] + } + + Method [ static public method __set_state ] { + + - Parameters [1] { + Parameter #0 [ array $array ] + } + - Return [ Teds\KeyValueVector ] + } + } + + - Properties [0] { + } + + - Methods [23] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ iterable $iterator = [] ] + } + } + + Method [ public method getIterator ] { + + - Parameters [0] { + } + - Return [ InternalIterator ] + } + + Method [ public method count ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ public method capacity ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ public method clear ] { + + - Parameters [0] { + } + - Return [ void ] + } + + Method [ public method setSize ] { + + - Parameters [1] { + Parameter #0 [ int $size ] + } + - Return [ void ] + } + + Method [ public method toPairs ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ public method __serialize ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ public method __unserialize ] { + + - Parameters [1] { + Parameter #0 [ array $data ] + } + - Return [ void ] + } + + Method [ public method push ] { + + - Parameters [2] { + Parameter #0 [ mixed $key ] + Parameter #1 [ mixed $value ] + } + - Return [ void ] + } + + Method [ public method pop ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ public method keys ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ public method values ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ public method keyAt ] { + + - Parameters [1] { + Parameter #0 [ int $offset ] + } + - Return [ mixed ] + } + + Method [ public method valueAt ] { + + - Parameters [1] { + Parameter #0 [ int $offset ] + } + - Return [ mixed ] + } + + Method [ public method setKeyAt ] { + + - Parameters [2] { + Parameter #0 [ int $offset ] + Parameter #1 [ mixed $key ] + } + - Return [ void ] + } + + Method [ public method setValueAt ] { + + - Parameters [2] { + Parameter #0 [ int $offset ] + Parameter #1 [ mixed $value ] + } + - Return [ void ] + } + + Method [ public method indexOfKey ] { + + - Parameters [1] { + Parameter #0 [ mixed $key ] + } + - Return [ int|false ] + } + + Method [ public method indexOfValue ] { + + - Parameters [1] { + Parameter #0 [ mixed $value ] + } + - Return [ int|false ] + } + + Method [ public method containsKey ] { + + - Parameters [1] { + Parameter #0 [ mixed $key ] + } + - Return [ bool ] + } + + Method [ public method containsValue ] { + + - Parameters [1] { + Parameter #0 [ mixed $value ] + } + - Return [ bool ] + } + + Method [ public method shrinkToFit ] { + + - Parameters [0] { + } + - Return [ void ] + } + + Method [ public method jsonSerialize ] { + + - Parameters [0] { + } + - Return [ array ] + } + } + } + Class [ final class Teds\Vector implements IteratorAggregate, Traversable, Countable, JsonSerializable, ArrayAccess ] { - Constants [0] { diff --git a/php-pecl-teds.spec b/php-pecl-teds.spec index bee04cc..a49384f 100644 --- a/php-pecl-teds.spec +++ b/php-pecl-teds.spec @@ -19,13 +19,13 @@ %global pecl_name teds %global ini_name 40-%{pecl_name}.ini -%global upstream_version 0.1.0 -%global upstream_prever a1 +%global upstream_version 0.1.1 +#global upstream_prever a1 Summary: Tentative Extra Data Structures Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD URL: https://pecl.php.net/package/%{pecl_name} @@ -195,6 +195,9 @@ fi %changelog +* Sat Sep 11 2021 Remi Collet - 0.1.1-1 +- update to 0.1.1 (stable) + * Wed Sep 01 2021 Remi Collet - 0.1.0~a1-2 - rebuild for 8.1.0RC1 -- cgit