summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION760
-rw-r--r--php-pecl-teds.spec5
3 files changed, 577 insertions, 190 deletions
diff --git a/PHPINFO b/PHPINFO
index 75a8946..3e14ad0 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,4 +2,4 @@
teds
teds support => enabled
-teds version => 0.14.0
+teds version => 1.0.1
diff --git a/REFLECTION b/REFLECTION
index 92d9cad..3c464e9 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #99 teds version 0.14.0 ] {
+Extension [ <persistent> extension #99 teds version 1.0.1 ] {
- Functions {
Function [ <internal:teds> function Teds\any ] {
@@ -99,8 +99,8 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
}
}
- - Classes [19] {
- Interface [ <internal:teds> interface Teds\Values extends Traversable, Countable ] {
+ - Classes [21] {
+ Interface [ <internal:teds> interface Teds\Collection extends Traversable, Countable ] {
- Constants [0] {
}
@@ -114,7 +114,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Properties [0] {
}
- - Methods [4] {
+ - Methods [6] {
Method [ <internal:teds> abstract public method values ] {
- Parameters [0] {
@@ -122,6 +122,13 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ array ]
}
+ Method [ <internal:teds> abstract public method toArray ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
Method [ <internal:teds> abstract public method isEmpty ] {
- Parameters [0] {
@@ -137,6 +144,13 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ bool ]
}
+ Method [ <internal:teds> abstract public method clear ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+
Method [ <internal:Core, inherits Countable> abstract public method count ] {
- Parameters [0] {
@@ -145,7 +159,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
}
}
- Interface [ <internal:teds> interface Teds\Collection extends Teds\Values, Countable, Traversable, ArrayAccess ] {
+ Interface [ <internal:teds> interface Teds\Sequence extends Teds\Collection, Countable, Traversable, ArrayAccess ] {
- Constants [0] {
}
@@ -159,37 +173,76 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Properties [0] {
}
- - Methods [10] {
- Method [ <internal:teds> abstract public method toArray ] {
+ - Methods [16] {
+ Method [ <internal:teds> abstract public method get ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $offset ]
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:teds> abstract public method set ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $offset ]
+ Parameter #1 [ <required> mixed $value ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:teds> abstract public method push ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> mixed ...$values ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:teds> abstract public method pop ] {
- Parameters [0] {
}
- - Return [ array ]
+ - Return [ mixed ]
}
- Method [ <internal:teds> abstract public method containsKey ] {
+ Method [ <internal:teds> abstract public method unshift ] {
- Parameters [1] {
- Parameter #0 [ <required> mixed $value ]
+ Parameter #0 [ <optional> mixed ...$values ]
}
- - Return [ bool ]
+ - Return [ void ]
}
- Method [ <internal:teds, inherits Teds\Values> abstract public method values ] {
+ Method [ <internal:teds> abstract public method shift ] {
+
+ - Parameters [0] {
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:teds, inherits Teds\Collection> abstract public method values ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:teds, inherits Teds\Collection> abstract public method toArray ] {
- Parameters [0] {
}
- Return [ array ]
}
- Method [ <internal:teds, inherits Teds\Values> abstract public method isEmpty ] {
+ Method [ <internal:teds, inherits Teds\Collection> abstract public method isEmpty ] {
- Parameters [0] {
}
- Return [ bool ]
}
- Method [ <internal:teds, inherits Teds\Values> abstract public method contains ] {
+ Method [ <internal:teds, inherits Teds\Collection> abstract public method contains ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $value ]
@@ -197,6 +250,13 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ bool ]
}
+ Method [ <internal:teds, inherits Teds\Collection> abstract public method clear ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+
Method [ <internal:Core, inherits Countable> abstract public method count ] {
- Parameters [0] {
@@ -234,7 +294,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
}
}
- Interface [ <internal:teds> interface Teds\ListInterface extends Teds\Collection, ArrayAccess, Traversable, Countable, Teds\Values ] {
+ Interface [ <internal:teds> interface Teds\Map extends Teds\Collection, Countable, Traversable, ArrayAccess ] {
- Constants [0] {
}
@@ -248,47 +308,104 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Properties [0] {
}
- - Methods [14] {
- Method [ <internal:teds> abstract public method get ] {
+ - Methods [11] {
+ Method [ <internal:teds> abstract public method containsKey ] {
- Parameters [1] {
- Parameter #0 [ <required> int $offset ]
+ Parameter #0 [ <required> mixed $value ]
}
- - Return [ mixed ]
+ - Return [ bool ]
}
- Method [ <internal:teds> abstract public method set ] {
+ Method [ <internal:teds, inherits Teds\Collection> abstract public method values ] {
- - Parameters [2] {
- Parameter #0 [ <required> int $offset ]
- Parameter #1 [ <required> mixed $value ]
+ - Parameters [0] {
}
- - Return [ void ]
+ - Return [ array ]
}
- Method [ <internal:teds> abstract public method push ] {
+ Method [ <internal:teds, inherits Teds\Collection> abstract public method toArray ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:teds, inherits Teds\Collection> abstract public method isEmpty ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:teds, inherits Teds\Collection> abstract public method contains ] {
- Parameters [1] {
- Parameter #0 [ <optional> mixed ...$values ]
+ Parameter #0 [ <required> mixed $value ]
}
- - Return [ void ]
+ - Return [ bool ]
}
- Method [ <internal:teds> abstract public method pop ] {
+ Method [ <internal:teds, inherits Teds\Collection> abstract public method clear ] {
- Parameters [0] {
}
- - Return [ mixed ]
+ - Return [ void ]
}
- Method [ <internal:teds, inherits Teds\Collection> abstract public method toArray ] {
+ Method [ <internal:Core, inherits Countable> abstract public method count ] {
- Parameters [0] {
}
- - Return [ array ]
}
- Method [ <internal:teds, inherits Teds\Collection> abstract public method containsKey ] {
+ Method [ <internal:Core, inherits ArrayAccess> abstract public method offsetExists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $offset ]
+ }
+ }
+
+ Method [ <internal:Core, inherits ArrayAccess> abstract public method offsetGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $offset ]
+ }
+ }
+
+ Method [ <internal:Core, inherits ArrayAccess> abstract public method offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $offset ]
+ Parameter #1 [ <required> mixed $value ]
+ }
+ }
+
+ Method [ <internal:Core, inherits ArrayAccess> abstract public method offsetUnset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $offset ]
+ }
+ }
+ }
+ }
+
+ Interface [ <internal:teds> interface Teds\Set extends Teds\Collection, Countable, Traversable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [8] {
+ Method [ <internal:teds> abstract public method add ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $value ]
@@ -296,21 +413,36 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ bool ]
}
- Method [ <internal:teds, inherits Teds\Values> abstract public method values ] {
+ Method [ <internal:teds> abstract public method remove ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $value ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:teds, inherits Teds\Collection> abstract public method values ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:teds, inherits Teds\Collection> abstract public method toArray ] {
- Parameters [0] {
}
- Return [ array ]
}
- Method [ <internal:teds, inherits Teds\Values> abstract public method isEmpty ] {
+ Method [ <internal:teds, inherits Teds\Collection> abstract public method isEmpty ] {
- Parameters [0] {
}
- Return [ bool ]
}
- Method [ <internal:teds, inherits Teds\Values> abstract public method contains ] {
+ Method [ <internal:teds, inherits Teds\Collection> abstract public method contains ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $value ]
@@ -318,44 +450,113 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ bool ]
}
+ Method [ <internal:teds, inherits Teds\Collection> abstract public method clear ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+
Method [ <internal:Core, inherits Countable> abstract public method count ] {
- Parameters [0] {
}
}
+ }
+ }
- Method [ <internal:Core, inherits ArrayAccess> abstract public method offsetExists ] {
+ Class [ <internal:teds> class Teds\UnsupportedOperationException extends RuntimeException implements Stringable, Throwable ] {
- - Parameters [1] {
- Parameter #0 [ <required> mixed $offset ]
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [4] {
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected $file = NULL ]
+ Property [ protected $line = NULL ]
+ }
+
+ - Methods [10] {
+ Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> string $message = "" ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
}
}
- Method [ <internal:Core, inherits ArrayAccess> abstract public method offsetGet ] {
+ Method [ <internal:Core, inherits Exception> public method __wakeup ] {
- - Parameters [1] {
- Parameter #0 [ <required> mixed $offset ]
+ - Parameters [0] {
}
}
- Method [ <internal:Core, inherits ArrayAccess> abstract public method offsetSet ] {
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
- - Parameters [2] {
- Parameter #0 [ <required> mixed $offset ]
- Parameter #1 [ <required> mixed $value ]
+ - Parameters [0] {
}
+ - Return [ string ]
}
- Method [ <internal:Core, inherits ArrayAccess> abstract public method offsetUnset ] {
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
- - Parameters [1] {
- Parameter #0 [ <required> mixed $offset ]
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Throwable ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+
+ - Parameters [0] {
}
+ - Return [ string ]
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
}
}
- Class [ <internal:teds> <iterateable> final class Teds\BitSet implements IteratorAggregate, Traversable, Teds\ListInterface, Teds\Values, Countable, ArrayAccess, Teds\Collection, JsonSerializable ] {
+ Class [ <internal:teds> <iterateable> final class Teds\BitSet implements IteratorAggregate, Traversable, Teds\Sequence, ArrayAccess, Countable, Teds\Collection, JsonSerializable ] {
- Constants [0] {
}
@@ -376,7 +577,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Properties [0] {
}
- - Methods [24] {
+ - Methods [27] {
Method [ <internal:teds, ctor> public method __construct ] {
- Parameters [1] {
@@ -398,7 +599,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ int ]
}
- Method [ <internal:teds, prototype Teds\Values> public method isEmpty ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method isEmpty ] {
- Parameters [0] {
}
@@ -427,7 +628,15 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ void ]
}
- Method [ <internal:teds, prototype Teds\ListInterface> public method push ] {
+ Method [ <internal:teds, prototype Teds\Sequence> public method push ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> mixed ...$values ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:teds, prototype Teds\Sequence> public method unshift ] {
- Parameters [1] {
Parameter #0 [ <optional> mixed ...$values ]
@@ -443,7 +652,14 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ void ]
}
- Method [ <internal:teds, prototype Teds\ListInterface> public method pop ] {
+ Method [ <internal:teds, prototype Teds\Sequence> public method pop ] {
+
+ - Parameters [0] {
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:teds, prototype Teds\Sequence> public method shift ] {
- Parameters [0] {
}
@@ -457,14 +673,21 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ array ]
}
- Method [ <internal:teds, prototype Teds\Values> public method values ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method values ] {
- Parameters [0] {
}
- Return [ array ]
}
- Method [ <internal:teds, prototype Teds\ListInterface> public method get ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method clear ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:teds, prototype Teds\Sequence> public method get ] {
- Parameters [1] {
Parameter #0 [ <required> int $offset ]
@@ -472,7 +695,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ bool ]
}
- Method [ <internal:teds, prototype Teds\ListInterface> public method set ] {
+ Method [ <internal:teds, prototype Teds\Sequence> public method set ] {
- Parameters [2] {
Parameter #0 [ <required> int $offset ]
@@ -506,7 +729,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ bool ]
}
- Method [ <internal:teds, prototype Teds\Collection> public method containsKey ] {
+ Method [ <internal:teds> public method containsKey ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $offset ]
@@ -539,7 +762,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ ?int ]
}
- Method [ <internal:teds, prototype Teds\Values> public method contains ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method contains ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $value ]
@@ -565,7 +788,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
}
}
- Class [ <internal:teds> <iterateable> final class Teds\Deque implements IteratorAggregate, Traversable, Teds\ListInterface, Teds\Values, Countable, ArrayAccess, Teds\Collection, JsonSerializable ] {
+ Class [ <internal:teds> <iterateable> final class Teds\Deque implements IteratorAggregate, Traversable, Teds\Sequence, ArrayAccess, Countable, Teds\Collection, JsonSerializable ] {
- Constants [0] {
}
@@ -608,14 +831,14 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ int ]
}
- Method [ <internal:teds, prototype Teds\Values> public method isEmpty ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method isEmpty ] {
- Parameters [0] {
}
- Return [ bool ]
}
- Method [ <internal:teds> public method clear ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method clear ] {
- Parameters [0] {
}
@@ -637,7 +860,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ void ]
}
- Method [ <internal:teds, prototype Teds\ListInterface> public method push ] {
+ Method [ <internal:teds, prototype Teds\Sequence> public method push ] {
- Parameters [1] {
Parameter #0 [ <optional> mixed ...$values ]
@@ -645,7 +868,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ void ]
}
- Method [ <internal:teds> public method unshift ] {
+ Method [ <internal:teds, prototype Teds\Sequence> public method unshift ] {
- Parameters [1] {
Parameter #0 [ <optional> mixed ...$values ]
@@ -653,14 +876,14 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ void ]
}
- Method [ <internal:teds, prototype Teds\ListInterface> public method pop ] {
+ Method [ <internal:teds, prototype Teds\Sequence> public method pop ] {
- Parameters [0] {
}
- Return [ mixed ]
}
- Method [ <internal:teds> public method shift ] {
+ Method [ <internal:teds, prototype Teds\Sequence> public method shift ] {
- Parameters [0] {
}
@@ -688,14 +911,14 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ array ]
}
- Method [ <internal:teds, prototype Teds\Values> public method values ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method values ] {
- Parameters [0] {
}
- Return [ array ]
}
- Method [ <internal:teds, prototype Teds\ListInterface> public method get ] {
+ Method [ <internal:teds, prototype Teds\Sequence> public method get ] {
- Parameters [1] {
Parameter #0 [ <required> int $offset ]
@@ -703,7 +926,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ mixed ]
}
- Method [ <internal:teds, prototype Teds\ListInterface> public method set ] {
+ Method [ <internal:teds, prototype Teds\Sequence> public method set ] {
- Parameters [2] {
Parameter #0 [ <required> int $offset ]
@@ -728,7 +951,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ bool ]
}
- Method [ <internal:teds, prototype Teds\Collection> public method containsKey ] {
+ Method [ <internal:teds> public method containsKey ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $offset ]
@@ -761,7 +984,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ ?int ]
}
- Method [ <internal:teds, prototype Teds\Values> public method contains ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method contains ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $value ]
@@ -785,7 +1008,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
}
}
- Class [ <internal:teds> <iterateable> final class Teds\ImmutableKeyValueSequence implements IteratorAggregate, Traversable, Teds\Values, Countable, JsonSerializable ] {
+ Class [ <internal:teds> <iterateable> final class Teds\ImmutableIterable implements IteratorAggregate, Traversable, Teds\Collection, Countable, JsonSerializable ] {
- Constants [0] {
}
@@ -799,7 +1022,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Parameters [1] {
Parameter #0 [ <required> iterable $pairs ]
}
- - Return [ Teds\ImmutableKeyValueSequence ]
+ - Return [ Teds\ImmutableIterable ]
}
Method [ <internal:teds> static public method __set_state ] {
@@ -807,14 +1030,14 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Parameters [1] {
Parameter #0 [ <required> array $array ]
}
- - Return [ Teds\ImmutableKeyValueSequence ]
+ - Return [ Teds\ImmutableIterable ]
}
}
- Properties [0] {
}
- - Methods [17] {
+ - Methods [19] {
Method [ <internal:teds, ctor> public method __construct ] {
- Parameters [1] {
@@ -836,7 +1059,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ int ]
}
- Method [ <internal:teds, prototype Teds\Values> public method isEmpty ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method isEmpty ] {
- Parameters [0] {
}
@@ -850,6 +1073,13 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ array ]
}
+ Method [ <internal:teds, prototype Teds\Collection> public method toArray ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
Method [ <internal:teds> public method __serialize ] {
- Parameters [0] {
@@ -872,7 +1102,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ array ]
}
- Method [ <internal:teds, prototype Teds\Values> public method values ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method values ] {
- Parameters [0] {
}
@@ -895,6 +1125,13 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ mixed ]
}
+ Method [ <internal:teds, prototype Teds\Collection> public method clear ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+
Method [ <internal:teds> public method indexOfKey ] {
- Parameters [1] {
@@ -927,7 +1164,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ bool ]
}
- Method [ <internal:teds, prototype Teds\Values> public method contains ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method contains ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $value ]
@@ -944,7 +1181,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
}
}
- Class [ <internal:teds> <iterateable> final class Teds\ImmutableSequence implements IteratorAggregate, Traversable, Teds\Collection, ArrayAccess, Countable, Teds\Values, JsonSerializable ] {
+ Class [ <internal:teds> <iterateable> final class Teds\ImmutableSequence implements IteratorAggregate, Traversable, Teds\Sequence, ArrayAccess, Countable, Teds\Collection, JsonSerializable ] {
- Constants [0] {
}
@@ -965,7 +1202,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Properties [0] {
}
- - Methods [19] {
+ - Methods [25] {
Method [ <internal:teds, ctor> public method __construct ] {
- Parameters [1] {
@@ -987,7 +1224,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ int ]
}
- Method [ <internal:teds, prototype Teds\Values> public method isEmpty ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method isEmpty ] {
- Parameters [0] {
}
@@ -1016,14 +1253,14 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ array ]
}
- Method [ <internal:teds, prototype Teds\Values> public method values ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method values ] {
- Parameters [0] {
}
- Return [ array ]
}
- Method [ <internal:teds> public method get ] {
+ Method [ <internal:teds, prototype Teds\Sequence> public method get ] {
- Parameters [1] {
Parameter #0 [ <required> int $offset ]
@@ -1031,6 +1268,52 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ mixed ]
}
+ Method [ <internal:teds, prototype Teds\Sequence> public method set ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $offset ]
+ Parameter #1 [ <required> mixed $value ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:teds, prototype Teds\Sequence> public method push ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> mixed ...$values ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:teds, prototype Teds\Sequence> public method pop ] {
+
+ - Parameters [0] {
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:teds, prototype Teds\Sequence> public method unshift ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> mixed ...$values ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:teds, prototype Teds\Sequence> public method shift ] {
+
+ - Parameters [0] {
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:teds, prototype Teds\Collection> public method clear ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+
Method [ <internal:teds, prototype ArrayAccess> public method offsetGet ] {
- Parameters [1] {
@@ -1047,7 +1330,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ bool ]
}
- Method [ <internal:teds, prototype Teds\Collection> public method containsKey ] {
+ Method [ <internal:teds> public method containsKey ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $offset ]
@@ -1080,7 +1363,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ ?int ]
}
- Method [ <internal:teds, prototype Teds\Values> public method contains ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method contains ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $value ]
@@ -1113,7 +1396,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
}
}
- Class [ <internal:teds> <iterateable> final class Teds\IntVector implements IteratorAggregate, Traversable, Teds\ListInterface, Teds\Values, Countable, ArrayAccess, Teds\Collection, JsonSerializable ] {
+ Class [ <internal:teds> <iterateable> final class Teds\IntVector implements IteratorAggregate, Traversable, Teds\Sequence, ArrayAccess, Countable, Teds\Collection, JsonSerializable ] {
- Constants [0] {
}
@@ -1134,7 +1417,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Properties [0] {
}
- - Methods [23] {
+ - Methods [26] {
Method [ <internal:teds, ctor> public method __construct ] {
- Parameters [1] {
@@ -1156,7 +1439,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ int ]
}
- Method [ <internal:teds, prototype Teds\Values> public method isEmpty ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method isEmpty ] {
- Parameters [0] {
}
@@ -1185,7 +1468,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ void ]
}
- Method [ <internal:teds, prototype Teds\ListInterface> public method push ] {
+ Method [ <internal:teds, prototype Teds\Sequence> public method push ] {
- Parameters [1] {
Parameter #0 [ <optional> mixed ...$values ]
@@ -1201,7 +1484,29 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ void ]
}
- Method [ <internal:teds, prototype Teds\ListInterface> public method pop ] {
+ Method [ <internal:teds, prototype Teds\Sequence> public method pop ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:teds, prototype Teds\Collection> public method clear ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:teds, prototype Teds\Sequence> public method unshift ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> mixed ...$values ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:teds, prototype Teds\Sequence> public method shift ] {
- Parameters [0] {
}
@@ -1215,14 +1520,14 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ array ]
}
- Method [ <internal:teds, prototype Teds\Values> public method values ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method values ] {
- Parameters [0] {
}
- Return [ array ]
}
- Method [ <internal:teds, prototype Teds\ListInterface> public method get ] {
+ Method [ <internal:teds, prototype Teds\Sequence> public method get ] {
- Parameters [1] {
Parameter #0 [ <required> int $offset ]
@@ -1230,7 +1535,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ int ]
}
- Method [ <internal:teds, prototype Teds\ListInterface> public method set ] {
+ Method [ <internal:teds, prototype Teds\Sequence> public method set ] {
- Parameters [2] {
Parameter #0 [ <required> int $offset ]
@@ -1264,7 +1569,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ bool ]
}
- Method [ <internal:teds, prototype Teds\Collection> public method containsKey ] {
+ Method [ <internal:teds> public method containsKey ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $offset ]
@@ -1297,7 +1602,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ ?int ]
}
- Method [ <internal:teds, prototype Teds\Values> public method contains ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method contains ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $value ]
@@ -1314,7 +1619,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
}
}
- Class [ <internal:teds> <iterateable> final class Teds\KeyValueVector implements IteratorAggregate, Traversable, Countable, JsonSerializable ] {
+ Class [ <internal:teds> <iterateable> final class Teds\MutableIterable implements IteratorAggregate, Traversable, Teds\Collection, Countable, JsonSerializable ] {
- Constants [0] {
}
@@ -1328,7 +1633,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Parameters [1] {
Parameter #0 [ <required> iterable $pairs ]
}
- - Return [ Teds\KeyValueVector ]
+ - Return [ Teds\MutableIterable ]
}
Method [ <internal:teds> static public method __set_state ] {
@@ -1336,14 +1641,14 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Parameters [1] {
Parameter #0 [ <required> array $array ]
}
- - Return [ Teds\KeyValueVector ]
+ - Return [ Teds\MutableIterable ]
}
}
- Properties [0] {
}
- - Methods [25] {
+ - Methods [26] {
Method [ <internal:teds, ctor> public method __construct ] {
- Parameters [1] {
@@ -1365,7 +1670,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ int ]
}
- Method [ <internal:teds> public method isEmpty ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method isEmpty ] {
- Parameters [0] {
}
@@ -1379,7 +1684,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ int ]
}
- Method [ <internal:teds> public method clear ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method clear ] {
- Parameters [0] {
}
@@ -1439,7 +1744,14 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ array ]
}
- Method [ <internal:teds> public method values ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method values ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:teds, prototype Teds\Collection> public method toArray ] {
- Parameters [0] {
}
@@ -1512,7 +1824,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ bool ]
}
- Method [ <internal:teds> public method contains ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method contains ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $value ]
@@ -1536,7 +1848,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
}
}
- Class [ <internal:teds> <iterateable> final class Teds\LowMemoryVector implements IteratorAggregate, Traversable, Teds\ListInterface, Teds\Values, Countable, ArrayAccess, Teds\Collection, JsonSerializable ] {
+ Class [ <internal:teds> <iterateable> final class Teds\LowMemoryVector implements IteratorAggregate, Traversable, Teds\Sequence, ArrayAccess, Countable, Teds\Collection, JsonSerializable ] {
- Constants [0] {
}
@@ -1557,7 +1869,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Properties [0] {
}
- - Methods [21] {
+ - Methods [24] {
Method [ <internal:teds, ctor> public method __construct ] {
- Parameters [1] {
@@ -1579,7 +1891,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ int ]
}
- Method [ <internal:teds, prototype Teds\Values> public method isEmpty ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method isEmpty ] {
- Parameters [0] {
}
@@ -1608,7 +1920,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ void ]
}
- Method [ <internal:teds, prototype Teds\ListInterface> public method push ] {
+ Method [ <internal:teds, prototype Teds\Sequence> public method push ] {
- Parameters [1] {
Parameter #0 [ <optional> mixed ...$values ]
@@ -1616,13 +1928,35 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ void ]
}
- Method [ <internal:teds, prototype Teds\ListInterface> public method pop ] {
+ Method [ <internal:teds, prototype Teds\Sequence> public method pop ] {
- Parameters [0] {
}
- Return [ mixed ]
}
+ Method [ <internal:teds, prototype Teds\Sequence> public method unshift ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> mixed ...$values ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:teds, prototype Teds\Sequence> public method shift ] {
+
+ - Parameters [0] {
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:teds, prototype Teds\Collection> public method clear ] {
+
+ - Parameters [0] {
+ }
+ - Return [ void ]
+ }
+
Method [ <internal:teds, prototype Teds\Collection> public method toArray ] {
- Parameters [0] {
@@ -1630,14 +1964,14 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ array ]
}
- Method [ <internal:teds, prototype Teds\Values> public method values ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method values ] {
- Parameters [0] {
}
- Return [ array ]
}
- Method [ <internal:teds, prototype Teds\ListInterface> public method get ] {
+ Method [ <internal:teds, prototype Teds\Sequence> public method get ] {
- Parameters [1] {
Parameter #0 [ <required> int $offset ]
@@ -1645,7 +1979,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ mixed ]
}
- Method [ <internal:teds, prototype Teds\ListInterface> public method set ] {
+ Method [ <internal:teds, prototype Teds\Sequence> public method set ] {
- Parameters [2] {
Parameter #0 [ <required> int $offset ]
@@ -1670,7 +2004,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ bool ]
}
- Method [ <internal:teds, prototype Teds\Collection> public method containsKey ] {
+ Method [ <internal:teds> public method containsKey ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $offset ]
@@ -1703,7 +2037,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ ?int ]
}
- Method [ <internal:teds, prototype Teds\Values> public method contains ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method contains ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $value ]
@@ -1720,7 +2054,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
}
}
- Class [ <internal:teds> <iterateable> final class Teds\SortedStrictMap implements IteratorAggregate, Traversable, Teds\Collection, ArrayAccess, Countable, Teds\Values, JsonSerializable ] {
+ Class [ <internal:teds> <iterateable> final class Teds\StrictTreeMap implements IteratorAggregate, Traversable, Teds\Map, ArrayAccess, Countable, Teds\Collection, JsonSerializable ] {
- Constants [0] {
}
@@ -1734,7 +2068,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Parameters [1] {
Parameter #0 [ <required> iterable $pairs ]
}
- - Return [ Teds\SortedStrictMap ]
+ - Return [ Teds\StrictTreeMap ]
}
Method [ <internal:teds> static public method __set_state ] {
@@ -1742,7 +2076,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Parameters [1] {
Parameter #0 [ <required> array $array ]
}
- - Return [ Teds\SortedStrictMap ]
+ - Return [ Teds\StrictTreeMap ]
}
}
@@ -1771,14 +2105,14 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ int ]
}
- Method [ <internal:teds, prototype Teds\Values> public method isEmpty ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method isEmpty ] {
- Parameters [0] {
}
- Return [ bool ]
}
- Method [ <internal:teds> public method clear ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method clear ] {
- Parameters [0] {
}
@@ -1814,7 +2148,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ void ]
}
- Method [ <internal:teds, prototype Teds\Values> public method values ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method values ] {
- Parameters [0] {
}
@@ -1920,7 +2254,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ bool ]
}
- Method [ <internal:teds, prototype Teds\Values> public method contains ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method contains ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $value ]
@@ -1928,7 +2262,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ bool ]
}
- Method [ <internal:teds, prototype Teds\Collection> public method containsKey ] {
+ Method [ <internal:teds, prototype Teds\Map> public method containsKey ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $key ]
@@ -1959,7 +2293,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
}
}
- Class [ <internal:teds> <iterateable> final class Teds\SortedStrictSet implements IteratorAggregate, Traversable, Teds\Values, Countable, JsonSerializable ] {
+ Class [ <internal:teds> <iterateable> final class Teds\StrictTreeSet implements IteratorAggregate, Traversable, Teds\Set, Countable, Teds\Collection, JsonSerializable ] {
- Constants [0] {
}
@@ -1973,14 +2307,14 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Parameters [1] {
Parameter #0 [ <required> array $array ]
}
- - Return [ Teds\SortedStrictSet ]
+ - Return [ Teds\StrictTreeSet ]
}
}
- Properties [0] {
}
- - Methods [18] {
+ - Methods [19] {
Method [ <internal:teds, ctor> public method __construct ] {
- Parameters [1] {
@@ -2002,14 +2336,14 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ int ]
}
- Method [ <internal:teds, prototype Teds\Values> public method isEmpty ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method isEmpty ] {
- Parameters [0] {
}
- Return [ bool ]
}
- Method [ <internal:teds> public method clear ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method clear ] {
- Parameters [0] {
}
@@ -2031,7 +2365,14 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ void ]
}
- Method [ <internal:teds, prototype Teds\Values> public method values ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method values ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:teds, prototype Teds\Collection> public method toArray ] {
- Parameters [0] {
}
@@ -2066,7 +2407,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ mixed ]
}
- Method [ <internal:teds, prototype Teds\Values> public method contains ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method contains ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $value ]
@@ -2074,7 +2415,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ bool ]
}
- Method [ <internal:teds> public method add ] {
+ Method [ <internal:teds, prototype Teds\Set> public method add ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $value ]
@@ -2082,7 +2423,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ bool ]
}
- Method [ <internal:teds> public method remove ] {
+ Method [ <internal:teds, prototype Teds\Set> public method remove ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $value ]
@@ -2113,7 +2454,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
}
}
- Class [ <internal:teds> <iterateable> final class Teds\StableMinHeap implements Iterator, Traversable, Countable ] {
+ Class [ <internal:teds> <iterateable> final class Teds\StrictMinHeap implements Iterator, Traversable, Teds\Collection, Countable ] {
- Constants [0] {
}
@@ -2127,14 +2468,14 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Parameters [1] {
Parameter #0 [ <required> array $state ]
}
- - Return [ Teds\StableMinHeap ]
+ - Return [ Teds\StrictMinHeap ]
}
}
- Properties [0] {
}
- - Methods [16] {
+ - Methods [17] {
Method [ <internal:teds, ctor> public method __construct ] {
- Parameters [1] {
@@ -2171,7 +2512,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ int ]
}
- Method [ <internal:teds> public method isEmpty ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method isEmpty ] {
- Parameters [0] {
}
@@ -2213,21 +2554,28 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ bool ]
}
- Method [ <internal:teds> public method clear ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method clear ] {
- Parameters [0] {
}
- Return [ void ]
}
- Method [ <internal:teds> public method values ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method values ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:teds, prototype Teds\Collection> public method toArray ] {
- Parameters [0] {
}
- Return [ array ]
}
- Method [ <internal:teds> public method contains ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method contains ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $value ]
@@ -2252,7 +2600,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
}
}
- Class [ <internal:teds> <iterateable> final class Teds\StableMaxHeap implements Iterator, Traversable, Countable ] {
+ Class [ <internal:teds> <iterateable> final class Teds\StrictMaxHeap implements Iterator, Traversable, Teds\Collection, Countable ] {
- Constants [0] {
}
@@ -2266,14 +2614,14 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Parameters [1] {
Parameter #0 [ <required> array $state ]
}
- - Return [ Teds\StableMaxHeap ]
+ - Return [ Teds\StrictMaxHeap ]
}
}
- Properties [0] {
}
- - Methods [16] {
+ - Methods [17] {
Method [ <internal:teds, ctor> public method __construct ] {
- Parameters [1] {
@@ -2310,7 +2658,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ int ]
}
- Method [ <internal:teds> public method isEmpty ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method isEmpty ] {
- Parameters [0] {
}
@@ -2352,21 +2700,28 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ bool ]
}
- Method [ <internal:teds> public method clear ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method clear ] {
- Parameters [0] {
}
- Return [ void ]
}
- Method [ <internal:teds> public method values ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method values ] {
- Parameters [0] {
}
- Return [ array ]
}
- Method [ <internal:teds> public method contains ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method toArray ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:teds, prototype Teds\Collection> public method contains ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $value ]
@@ -2391,7 +2746,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
}
}
- Class [ <internal:teds> <iterateable> final class Teds\StableSortedListMap implements IteratorAggregate, Traversable, Teds\Collection, ArrayAccess, Countable, Teds\Values, JsonSerializable ] {
+ Class [ <internal:teds> <iterateable> final class Teds\StrictSortedVectorMap implements IteratorAggregate, Traversable, Teds\Map, ArrayAccess, Countable, Teds\Collection, JsonSerializable ] {
- Constants [0] {
}
@@ -2405,7 +2760,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Parameters [1] {
Parameter #0 [ <required> iterable $pairs ]
}
- - Return [ Teds\StableSortedListMap ]
+ - Return [ Teds\StrictSortedVectorMap ]
}
Method [ <internal:teds> static public method __set_state ] {
@@ -2413,7 +2768,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Parameters [1] {
Parameter #0 [ <required> array $array ]
}
- - Return [ Teds\StableSortedListMap ]
+ - Return [ Teds\StrictSortedVectorMap ]
}
}
@@ -2442,14 +2797,14 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ int ]
}
- Method [ <internal:teds, prototype Teds\Values> public method isEmpty ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method isEmpty ] {
- Parameters [0] {
}
- Return [ bool ]
}
- Method [ <internal:teds> public method clear ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method clear ] {
- Parameters [0] {
}
@@ -2485,7 +2840,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ array ]
}
- Method [ <internal:teds, prototype Teds\Values> public method values ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method values ] {
- Parameters [0] {
}
@@ -2591,7 +2946,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ bool ]
}
- Method [ <internal:teds, prototype Teds\Values> public method contains ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method contains ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $value ]
@@ -2599,7 +2954,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ bool ]
}
- Method [ <internal:teds, prototype Teds\Collection> public method containsKey ] {
+ Method [ <internal:teds, prototype Teds\Map> public method containsKey ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $key ]
@@ -2616,7 +2971,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
}
}
- Class [ <internal:teds> <iterateable> final class Teds\StableSortedListSet implements IteratorAggregate, Traversable, Teds\Values, Countable, JsonSerializable ] {
+ Class [ <internal:teds> <iterateable> final class Teds\StrictSortedVectorSet implements IteratorAggregate, Traversable, Teds\Set, Countable, Teds\Collection, JsonSerializable ] {
- Constants [0] {
}
@@ -2630,14 +2985,14 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Parameters [1] {
Parameter #0 [ <required> array $array ]
}
- - Return [ Teds\StableSortedListSet ]
+ - Return [ Teds\StrictSortedVectorSet ]
}
}
- Properties [0] {
}
- - Methods [16] {
+ - Methods [17] {
Method [ <internal:teds, ctor> public method __construct ] {
- Parameters [1] {
@@ -2659,14 +3014,14 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ int ]
}
- Method [ <internal:teds, prototype Teds\Values> public method isEmpty ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method isEmpty ] {
- Parameters [0] {
}
- Return [ bool ]
}
- Method [ <internal:teds> public method clear ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method clear ] {
- Parameters [0] {
}
@@ -2688,7 +3043,14 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ void ]
}
- Method [ <internal:teds, prototype Teds\Values> public method values ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method values ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:teds, prototype Teds\Collection> public method toArray ] {
- Parameters [0] {
}
@@ -2723,7 +3085,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ mixed ]
}
- Method [ <internal:teds, prototype Teds\Values> public method contains ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method contains ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $value ]
@@ -2731,7 +3093,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ bool ]
}
- Method [ <internal:teds> public method add ] {
+ Method [ <internal:teds, prototype Teds\Set> public method add ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $value ]
@@ -2739,7 +3101,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ bool ]
}
- Method [ <internal:teds> public method remove ] {
+ Method [ <internal:teds, prototype Teds\Set> public method remove ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $value ]
@@ -2756,7 +3118,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
}
}
- Class [ <internal:teds> <iterateable> final class Teds\StrictMap implements IteratorAggregate, Traversable, Teds\Collection, ArrayAccess, Countable, Teds\Values, JsonSerializable ] {
+ Class [ <internal:teds> <iterateable> final class Teds\StrictHashMap implements IteratorAggregate, Traversable, Teds\Map, ArrayAccess, Countable, Teds\Collection, JsonSerializable ] {
- Constants [0] {
}
@@ -2770,7 +3132,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Parameters [1] {
Parameter #0 [ <required> iterable $pairs ]
}
- - Return [ Teds\StrictMap ]
+ - Return [ Teds\StrictHashMap ]
}
Method [ <internal:teds> static public method __set_state ] {
@@ -2778,7 +3140,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Parameters [1] {
Parameter #0 [ <required> array $array ]
}
- - Return [ Teds\StrictMap ]
+ - Return [ Teds\StrictHashMap ]
}
}
@@ -2807,14 +3169,14 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ int ]
}
- Method [ <internal:teds, prototype Teds\Values> public method isEmpty ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method isEmpty ] {
- Parameters [0] {
}
- Return [ bool ]
}
- Method [ <internal:teds> public method clear ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method clear ] {
- Parameters [0] {
}
@@ -2850,7 +3212,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ array ]
}
- Method [ <internal:teds, prototype Teds\Values> public method values ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method values ] {
- Parameters [0] {
}
@@ -2905,7 +3267,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ bool ]
}
- Method [ <internal:teds, prototype Teds\Values> public method contains ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method contains ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $value ]
@@ -2913,7 +3275,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ bool ]
}
- Method [ <internal:teds, prototype Teds\Collection> public method containsKey ] {
+ Method [ <internal:teds, prototype Teds\Map> public method containsKey ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $key ]
@@ -2939,7 +3301,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
}
}
- Class [ <internal:teds> <iterateable> final class Teds\StrictSet implements IteratorAggregate, Traversable, Teds\Values, Countable, JsonSerializable ] {
+ Class [ <internal:teds> <iterateable> final class Teds\StrictHashSet implements IteratorAggregate, Traversable, Teds\Set, Countable, Teds\Collection, JsonSerializable ] {
- Constants [0] {
}
@@ -2953,14 +3315,14 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Parameters [1] {
Parameter #0 [ <required> array $array ]
}
- - Return [ Teds\StrictSet ]
+ - Return [ Teds\StrictHashSet ]
}
}
- Properties [0] {
}
- - Methods [12] {
+ - Methods [13] {
Method [ <internal:teds, ctor> public method __construct ] {
- Parameters [1] {
@@ -2982,14 +3344,14 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ int ]
}
- Method [ <internal:teds, prototype Teds\Values> public method isEmpty ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method isEmpty ] {
- Parameters [0] {
}
- Return [ bool ]
}
- Method [ <internal:teds> public method clear ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method clear ] {
- Parameters [0] {
}
@@ -3011,14 +3373,21 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ void ]
}
- Method [ <internal:teds, prototype Teds\Values> public method values ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method values ] {
- Parameters [0] {
}
- Return [ array ]
}
- Method [ <internal:teds, prototype Teds\Values> public method contains ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method toArray ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:teds, prototype Teds\Collection> public method contains ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $value ]
@@ -3026,7 +3395,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ bool ]
}
- Method [ <internal:teds> public method add ] {
+ Method [ <internal:teds, prototype Teds\Set> public method add ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $value ]
@@ -3034,7 +3403,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ bool ]
}
- Method [ <internal:teds> public method remove ] {
+ Method [ <internal:teds, prototype Teds\Set> public method remove ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $value ]
@@ -3051,7 +3420,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
}
}
- Class [ <internal:teds> <iterateable> final class Teds\Vector implements IteratorAggregate, Traversable, Teds\ListInterface, Teds\Values, Countable, ArrayAccess, Teds\Collection, JsonSerializable ] {
+ Class [ <internal:teds> <iterateable> final class Teds\Vector implements IteratorAggregate, Traversable, Teds\Sequence, ArrayAccess, Countable, Teds\Collection, JsonSerializable ] {
- Constants [0] {
}
@@ -3072,7 +3441,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Properties [0] {
}
- - Methods [27] {
+ - Methods [29] {
Method [ <internal:teds, ctor> public method __construct ] {
- Parameters [1] {
@@ -3094,7 +3463,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ int ]
}
- Method [ <internal:teds, prototype Teds\Values> public method isEmpty ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method isEmpty ] {
- Parameters [0] {
}
@@ -3123,7 +3492,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ void ]
}
- Method [ <internal:teds> public method clear ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method clear ] {
- Parameters [0] {
}
@@ -3154,7 +3523,22 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ void ]
}
- Method [ <internal:teds, prototype Teds\ListInterface> public method push ] {
+ Method [ <internal:teds, prototype Teds\Sequence> public method push ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> mixed ...$values ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:teds, prototype Teds\Sequence> public method pop ] {
+
+ - Parameters [0] {
+ }
+ - Return [ mixed ]
+ }
+
+ Method [ <internal:teds, prototype Teds\Sequence> public method unshift ] {
- Parameters [1] {
Parameter #0 [ <optional> mixed ...$values ]
@@ -3162,7 +3546,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ void ]
}
- Method [ <internal:teds, prototype Teds\ListInterface> public method pop ] {
+ Method [ <internal:teds, prototype Teds\Sequence> public method shift ] {
- Parameters [0] {
}
@@ -3176,14 +3560,14 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ array ]
}
- Method [ <internal:teds, prototype Teds\Values> public method values ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method values ] {
- Parameters [0] {
}
- Return [ array ]
}
- Method [ <internal:teds, prototype Teds\ListInterface> public method get ] {
+ Method [ <internal:teds, prototype Teds\Sequence> public method get ] {
- Parameters [1] {
Parameter #0 [ <required> int $offset ]
@@ -3191,7 +3575,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ mixed ]
}
- Method [ <internal:teds, prototype Teds\ListInterface> public method set ] {
+ Method [ <internal:teds, prototype Teds\Sequence> public method set ] {
- Parameters [2] {
Parameter #0 [ <required> int $offset ]
@@ -3216,7 +3600,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ bool ]
}
- Method [ <internal:teds, prototype Teds\Collection> public method containsKey ] {
+ Method [ <internal:teds> public method containsKey ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $offset ]
@@ -3249,7 +3633,7 @@ Extension [ <persistent> extension #99 teds version 0.14.0 ] {
- Return [ ?int ]
}
- Method [ <internal:teds, prototype Teds\Values> public method contains ] {
+ Method [ <internal:teds, prototype Teds\Collection> public method contains ] {
- Parameters [1] {
Parameter #0 [ <required> mixed $value ]
diff --git a/php-pecl-teds.spec b/php-pecl-teds.spec
index 7ccfec7..61d9625 100644
--- a/php-pecl-teds.spec
+++ b/php-pecl-teds.spec
@@ -19,7 +19,7 @@
%global pecl_name teds
%global ini_name 40-%{pecl_name}.ini
-%global upstream_version 0.14.0
+%global upstream_version 1.0.1
#global upstream_prever a1
Summary: Tentative Extra Data Structures
@@ -194,6 +194,9 @@ fi
%changelog
+* Thu Feb 17 2022 Remi Collet <remi@remirepo.net> - 1.0.1-1
+- update to 1.0.1
+
* Mon Feb 14 2022 Remi Collet <remi@remirepo.net> - 0.14.0-1
- update to 0.14.0