summaryrefslogtreecommitdiffstats
path: root/REFLECTION
diff options
context:
space:
mode:
Diffstat (limited to 'REFLECTION')
-rw-r--r--REFLECTION562
1 files changed, 434 insertions, 128 deletions
diff --git a/REFLECTION b/REFLECTION
index acddce9..842258a 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #90 ds version 1.2.9 ] {
+Extension [ <persistent> extension #63 ds version 1.5.0 ] {
- Dependencies {
Dependency [ json (Required) ]
@@ -32,12 +32,12 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [1] {
Parameter #0 [ <required> $obj ]
}
- - Return [ boolean ]
+ - Return [ bool ]
}
}
}
- Interface [ <internal:ds> interface Ds\Collection extends Traversable, Countable, JsonSerializable ] {
+ Interface [ <internal:ds> interface Ds\Collection extends IteratorAggregate, Traversable, Countable, JsonSerializable ] {
- Constants [0] {
}
@@ -51,7 +51,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Properties [0] {
}
- - Methods [6] {
+ - Methods [7] {
Method [ <internal:ds> abstract public method clear ] {
- Parameters [0] {
@@ -69,7 +69,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [0] {
}
- - Return [ boolean ]
+ - Return [ bool ]
}
Method [ <internal:ds> abstract public method toArray ] {
@@ -79,21 +79,30 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Return [ array ]
}
+ Method [ <internal:Core, inherits IteratorAggregate> abstract public method getIterator ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ Traversable ]
+ }
+
Method [ <internal:Core, inherits Countable> abstract public method count ] {
- Parameters [0] {
}
+ - Tentative return [ int ]
}
Method [ <internal:json, inherits JsonSerializable> abstract public method jsonSerialize ] {
- Parameters [0] {
}
+ - Tentative return [ mixed ]
}
}
}
- Interface [ <internal:ds> interface Ds\Sequence extends Ds\Collection, JsonSerializable, Countable, Traversable ] {
+ Interface [ <internal:ds> interface Ds\Sequence extends Ds\Collection, JsonSerializable, Countable, Traversable, IteratorAggregate, ArrayAccess ] {
- Constants [0] {
}
@@ -107,11 +116,11 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Properties [0] {
}
- - Methods [29] {
+ - Methods [34] {
Method [ <internal:ds> abstract public method allocate ] {
- Parameters [1] {
- Parameter #0 [ <required> integer $capacity ]
+ Parameter #0 [ <required> int $capacity ]
}
}
@@ -119,7 +128,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [0] {
}
- - Return [ integer ]
+ - Return [ int ]
}
Method [ <internal:ds> abstract public method contains ] {
@@ -127,13 +136,13 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [1] {
Parameter #0 [ <optional> ...$values ]
}
- - Return [ boolean ]
+ - Return [ bool ]
}
Method [ <internal:ds> abstract public method filter ] {
- Parameters [1] {
- Parameter #0 [ <optional> callable or NULL $callback ]
+ Parameter #0 [ <optional> ?callable $callback = <default> ]
}
- Return [ Ds\Sequence ]
}
@@ -154,14 +163,14 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds> abstract public method get ] {
- Parameters [1] {
- Parameter #0 [ <required> integer $index ]
+ Parameter #0 [ <required> int $index ]
}
}
Method [ <internal:ds> abstract public method insert ] {
- Parameters [2] {
- Parameter #0 [ <required> integer $index ]
+ Parameter #0 [ <required> int $index ]
Parameter #1 [ <optional> ...$values ]
}
}
@@ -169,7 +178,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds> abstract public method join ] {
- Parameters [1] {
- Parameter #0 [ <optional> string $glue ]
+ Parameter #0 [ <optional> string $glue = <default> ]
}
- Return [ string ]
}
@@ -213,14 +222,14 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [2] {
Parameter #0 [ <required> callable $callback ]
- Parameter #1 [ <optional> $initial ]
+ Parameter #1 [ <optional> $initial = <default> ]
}
}
Method [ <internal:ds> abstract public method remove ] {
- Parameters [1] {
- Parameter #0 [ <required> integer $index ]
+ Parameter #0 [ <required> int $index ]
}
}
@@ -233,14 +242,14 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds> abstract public method rotate ] {
- Parameters [1] {
- Parameter #0 [ <required> integer $rotations ]
+ Parameter #0 [ <required> int $rotations ]
}
}
Method [ <internal:ds> abstract public method set ] {
- Parameters [2] {
- Parameter #0 [ <required> integer $index ]
+ Parameter #0 [ <required> int $index ]
Parameter #1 [ <required> $value ]
}
}
@@ -254,8 +263,8 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds> abstract public method slice ] {
- Parameters [2] {
- Parameter #0 [ <required> integer $index ]
- Parameter #1 [ <optional> integer or NULL $length ]
+ Parameter #0 [ <required> int $index ]
+ Parameter #1 [ <optional> ?int $length = <default> ]
}
- Return [ Ds\Sequence ]
}
@@ -263,7 +272,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds> abstract public method sort ] {
- Parameters [1] {
- Parameter #0 [ <optional> callable or NULL $comparator ]
+ Parameter #0 [ <optional> ?callable $comparator = <default> ]
}
}
@@ -291,7 +300,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [0] {
}
- - Return [ boolean ]
+ - Return [ bool ]
}
Method [ <internal:ds, inherits Ds\Collection> abstract public method toArray ] {
@@ -301,24 +310,66 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Return [ array ]
}
+ Method [ <internal:Core, inherits IteratorAggregate> abstract public method getIterator ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ Traversable ]
+ }
+
Method [ <internal:Core, inherits Countable> abstract public method count ] {
- Parameters [0] {
}
+ - Tentative return [ int ]
}
Method [ <internal:json, inherits JsonSerializable> abstract public method jsonSerialize ] {
- Parameters [0] {
}
+ - Tentative return [ mixed ]
+ }
+
+ Method [ <internal:Core, inherits ArrayAccess> abstract public method offsetExists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $offset ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:Core, inherits ArrayAccess> abstract public method offsetGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $offset ]
+ }
+ - Tentative return [ mixed ]
+ }
+
+ Method [ <internal:Core, inherits ArrayAccess> abstract public method offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $offset ]
+ Parameter #1 [ <required> mixed $value ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:Core, inherits ArrayAccess> abstract public method offsetUnset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $offset ]
+ }
+ - Tentative return [ void ]
}
}
}
- Class [ <internal:ds> <iterateable> final class Ds\Vector implements Ds\Sequence, Traversable, Countable, JsonSerializable, Ds\Collection ] {
+ Class [ <internal:ds> <iterateable> final class Ds\Vector implements Ds\Sequence, ArrayAccess, IteratorAggregate, Traversable, Countable, JsonSerializable, Ds\Collection ] {
- Constants [1] {
- Constant [ public integer MIN_CAPACITY ] { 8 }
+ Constant [ public int MIN_CAPACITY ] { 8 }
}
- Static properties [0] {
@@ -330,18 +381,25 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Properties [0] {
}
- - Methods [34] {
+ - Methods [39] {
Method [ <internal:ds, ctor> public method __construct ] {
- Parameters [1] {
- Parameter #0 [ <optional> $values ]
+ Parameter #0 [ <optional> $values = <default> ]
}
}
+ Method [ <internal:ds, prototype IteratorAggregate> public method getIterator ] {
+
+ - Parameters [0] {
+ }
+ - Return [ Traversable ]
+ }
+
Method [ <internal:ds, prototype Ds\Sequence> public method allocate ] {
- Parameters [1] {
- Parameter #0 [ <required> integer $capacity ]
+ Parameter #0 [ <required> int $capacity ]
}
}
@@ -356,7 +414,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [0] {
}
- - Return [ integer ]
+ - Return [ int ]
}
Method [ <internal:ds, prototype Ds\Sequence> public method contains ] {
@@ -364,13 +422,13 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [1] {
Parameter #0 [ <optional> ...$values ]
}
- - Return [ boolean ]
+ - Return [ bool ]
}
Method [ <internal:ds, prototype Ds\Sequence> public method filter ] {
- Parameters [1] {
- Parameter #0 [ <optional> callable or NULL $callback ]
+ Parameter #0 [ <optional> ?callable $callback = <default> ]
}
- Return [ Ds\Sequence ]
}
@@ -391,14 +449,14 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds, prototype Ds\Sequence> public method get ] {
- Parameters [1] {
- Parameter #0 [ <required> integer $index ]
+ Parameter #0 [ <required> int $index ]
}
}
Method [ <internal:ds, prototype Ds\Sequence> public method insert ] {
- Parameters [2] {
- Parameter #0 [ <required> integer $index ]
+ Parameter #0 [ <required> int $index ]
Parameter #1 [ <optional> ...$values ]
}
}
@@ -406,7 +464,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds, prototype Ds\Sequence> public method join ] {
- Parameters [1] {
- Parameter #0 [ <optional> string $glue ]
+ Parameter #0 [ <optional> string $glue = <default> ]
}
- Return [ string ]
}
@@ -433,6 +491,39 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Return [ Ds\Sequence ]
}
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetExists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $offset ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $offset ]
+ }
+ - Tentative return [ mixed ]
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $offset ]
+ Parameter #1 [ <required> mixed $value ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetUnset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $offset ]
+ }
+ - Tentative return [ void ]
+ }
+
Method [ <internal:ds, prototype Ds\Sequence> public method pop ] {
- Parameters [0] {
@@ -450,14 +541,14 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [2] {
Parameter #0 [ <required> callable $callback ]
- Parameter #1 [ <optional> $initial ]
+ Parameter #1 [ <optional> $initial = <default> ]
}
}
Method [ <internal:ds, prototype Ds\Sequence> public method remove ] {
- Parameters [1] {
- Parameter #0 [ <required> integer $index ]
+ Parameter #0 [ <required> int $index ]
}
}
@@ -477,14 +568,14 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds, prototype Ds\Sequence> public method rotate ] {
- Parameters [1] {
- Parameter #0 [ <required> integer $rotations ]
+ Parameter #0 [ <required> int $rotations ]
}
}
Method [ <internal:ds, prototype Ds\Sequence> public method set ] {
- Parameters [2] {
- Parameter #0 [ <required> integer $index ]
+ Parameter #0 [ <required> int $index ]
Parameter #1 [ <required> $value ]
}
}
@@ -498,8 +589,8 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds, prototype Ds\Sequence> public method slice ] {
- Parameters [2] {
- Parameter #0 [ <required> integer $index ]
- Parameter #1 [ <optional> integer or NULL $length ]
+ Parameter #0 [ <required> int $index ]
+ Parameter #1 [ <optional> ?int $length = <default> ]
}
- Return [ Ds\Sequence ]
}
@@ -507,14 +598,14 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds, prototype Ds\Sequence> public method sort ] {
- Parameters [1] {
- Parameter #0 [ <optional> callable or NULL $comparator ]
+ Parameter #0 [ <optional> ?callable $comparator = <default> ]
}
}
Method [ <internal:ds> public method sorted ] {
- Parameters [1] {
- Parameter #0 [ <optional> callable or NULL $comparator ]
+ Parameter #0 [ <optional> ?callable $comparator = <default> ]
}
- Return [ Ds\Sequence ]
}
@@ -549,20 +640,21 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [0] {
}
- - Return [ integer ]
+ - Return [ int ]
}
Method [ <internal:ds, prototype Ds\Collection> public method isEmpty ] {
- Parameters [0] {
}
- - Return [ boolean ]
+ - Return [ bool ]
}
Method [ <internal:ds, prototype JsonSerializable> public method jsonSerialize ] {
- Parameters [0] {
}
+ - Tentative return [ mixed ]
}
Method [ <internal:ds, prototype Ds\Collection> public method toArray ] {
@@ -574,10 +666,10 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
}
}
- Class [ <internal:ds> <iterateable> final class Ds\Deque implements Ds\Sequence, Traversable, Countable, JsonSerializable, Ds\Collection ] {
+ Class [ <internal:ds> <iterateable> final class Ds\Deque implements Ds\Sequence, ArrayAccess, IteratorAggregate, Traversable, Countable, JsonSerializable, Ds\Collection ] {
- Constants [1] {
- Constant [ public integer MIN_CAPACITY ] { 8 }
+ Constant [ public int MIN_CAPACITY ] { 8 }
}
- Static properties [0] {
@@ -589,12 +681,19 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Properties [0] {
}
- - Methods [34] {
+ - Methods [39] {
Method [ <internal:ds, ctor> public method __construct ] {
- Parameters [1] {
- Parameter #0 [ <optional> $values ]
+ Parameter #0 [ <optional> $values = <default> ]
+ }
+ }
+
+ Method [ <internal:ds, prototype IteratorAggregate> public method getIterator ] {
+
+ - Parameters [0] {
}
+ - Return [ Traversable ]
}
Method [ <internal:ds, prototype Ds\Collection> public method clear ] {
@@ -614,20 +713,21 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [0] {
}
- - Return [ integer ]
+ - Return [ int ]
}
Method [ <internal:ds, prototype Ds\Collection> public method isEmpty ] {
- Parameters [0] {
}
- - Return [ boolean ]
+ - Return [ bool ]
}
Method [ <internal:ds, prototype JsonSerializable> public method jsonSerialize ] {
- Parameters [0] {
}
+ - Tentative return [ mixed ]
}
Method [ <internal:ds, prototype Ds\Collection> public method toArray ] {
@@ -640,7 +740,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds, prototype Ds\Sequence> public method allocate ] {
- Parameters [1] {
- Parameter #0 [ <required> integer $capacity ]
+ Parameter #0 [ <required> int $capacity ]
}
}
@@ -655,7 +755,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [0] {
}
- - Return [ integer ]
+ - Return [ int ]
}
Method [ <internal:ds, prototype Ds\Sequence> public method contains ] {
@@ -663,13 +763,13 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [1] {
Parameter #0 [ <optional> ...$values ]
}
- - Return [ boolean ]
+ - Return [ bool ]
}
Method [ <internal:ds, prototype Ds\Sequence> public method filter ] {
- Parameters [1] {
- Parameter #0 [ <optional> callable or NULL $callback ]
+ Parameter #0 [ <optional> ?callable $callback = <default> ]
}
- Return [ Ds\Sequence ]
}
@@ -690,14 +790,14 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds, prototype Ds\Sequence> public method get ] {
- Parameters [1] {
- Parameter #0 [ <required> integer $index ]
+ Parameter #0 [ <required> int $index ]
}
}
Method [ <internal:ds, prototype Ds\Sequence> public method insert ] {
- Parameters [2] {
- Parameter #0 [ <required> integer $index ]
+ Parameter #0 [ <required> int $index ]
Parameter #1 [ <optional> ...$values ]
}
}
@@ -705,7 +805,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds, prototype Ds\Sequence> public method join ] {
- Parameters [1] {
- Parameter #0 [ <optional> string $glue ]
+ Parameter #0 [ <optional> string $glue = <default> ]
}
- Return [ string ]
}
@@ -732,6 +832,39 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Return [ Ds\Sequence ]
}
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetExists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $offset ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $offset ]
+ }
+ - Tentative return [ mixed ]
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $offset ]
+ Parameter #1 [ <required> mixed $value ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetUnset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $offset ]
+ }
+ - Tentative return [ void ]
+ }
+
Method [ <internal:ds, prototype Ds\Sequence> public method pop ] {
- Parameters [0] {
@@ -749,14 +882,14 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [2] {
Parameter #0 [ <required> callable $callback ]
- Parameter #1 [ <optional> $initial ]
+ Parameter #1 [ <optional> $initial = <default> ]
}
}
Method [ <internal:ds, prototype Ds\Sequence> public method remove ] {
- Parameters [1] {
- Parameter #0 [ <required> integer $index ]
+ Parameter #0 [ <required> int $index ]
}
}
@@ -776,14 +909,14 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds, prototype Ds\Sequence> public method rotate ] {
- Parameters [1] {
- Parameter #0 [ <required> integer $rotations ]
+ Parameter #0 [ <required> int $rotations ]
}
}
Method [ <internal:ds, prototype Ds\Sequence> public method set ] {
- Parameters [2] {
- Parameter #0 [ <required> integer $index ]
+ Parameter #0 [ <required> int $index ]
Parameter #1 [ <required> $value ]
}
}
@@ -797,8 +930,8 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds, prototype Ds\Sequence> public method slice ] {
- Parameters [2] {
- Parameter #0 [ <required> integer $index ]
- Parameter #1 [ <optional> integer or NULL $length ]
+ Parameter #0 [ <required> int $index ]
+ Parameter #1 [ <optional> ?int $length = <default> ]
}
- Return [ Ds\Sequence ]
}
@@ -806,14 +939,14 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds, prototype Ds\Sequence> public method sort ] {
- Parameters [1] {
- Parameter #0 [ <optional> callable or NULL $comparator ]
+ Parameter #0 [ <optional> ?callable $comparator = <default> ]
}
}
Method [ <internal:ds> public method sorted ] {
- Parameters [1] {
- Parameter #0 [ <optional> callable or NULL $comparator ]
+ Parameter #0 [ <optional> ?callable $comparator = <default> ]
}
- Return [ Ds\Sequence ]
}
@@ -833,7 +966,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
}
}
- Class [ <internal:ds> <iterateable> final class Ds\Stack implements Ds\Collection, JsonSerializable, Countable, Traversable ] {
+ Class [ <internal:ds> <iterateable> final class Ds\Stack implements Ds\Collection, JsonSerializable, Countable, Traversable, IteratorAggregate, ArrayAccess ] {
- Constants [0] {
}
@@ -847,18 +980,18 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Properties [0] {
}
- - Methods [12] {
+ - Methods [17] {
Method [ <internal:ds, ctor> public method __construct ] {
- Parameters [1] {
- Parameter #0 [ <optional> $values ]
+ Parameter #0 [ <optional> $values = <default> ]
}
}
Method [ <internal:ds> public method allocate ] {
- Parameters [1] {
- Parameter #0 [ <required> integer $capacity ]
+ Parameter #0 [ <required> int $capacity ]
}
}
@@ -866,7 +999,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [0] {
}
- - Return [ integer ]
+ - Return [ int ]
}
Method [ <internal:ds> public method peek ] {
@@ -888,6 +1021,46 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
}
}
+ Method [ <internal:ds, prototype IteratorAggregate> public method getIterator ] {
+
+ - Parameters [0] {
+ }
+ - Return [ Traversable ]
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetExists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $offset ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $offset ]
+ }
+ - Tentative return [ mixed ]
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $offset ]
+ Parameter #1 [ <required> mixed $value ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetUnset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $offset ]
+ }
+ - Tentative return [ void ]
+ }
+
Method [ <internal:ds, prototype Ds\Collection> public method clear ] {
- Parameters [0] {
@@ -905,20 +1078,21 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [0] {
}
- - Return [ integer ]
+ - Return [ int ]
}
Method [ <internal:ds, prototype Ds\Collection> public method isEmpty ] {
- Parameters [0] {
}
- - Return [ boolean ]
+ - Return [ bool ]
}
Method [ <internal:ds, prototype JsonSerializable> public method jsonSerialize ] {
- Parameters [0] {
}
+ - Tentative return [ mixed ]
}
Method [ <internal:ds, prototype Ds\Collection> public method toArray ] {
@@ -930,10 +1104,10 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
}
}
- Class [ <internal:ds> <iterateable> final class Ds\Queue implements Ds\Collection, JsonSerializable, Countable, Traversable ] {
+ Class [ <internal:ds> <iterateable> final class Ds\Queue implements Ds\Collection, JsonSerializable, Countable, Traversable, IteratorAggregate, ArrayAccess ] {
- Constants [1] {
- Constant [ public integer MIN_CAPACITY ] { 8 }
+ Constant [ public int MIN_CAPACITY ] { 8 }
}
- Static properties [0] {
@@ -945,18 +1119,18 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Properties [0] {
}
- - Methods [12] {
+ - Methods [17] {
Method [ <internal:ds, ctor> public method __construct ] {
- Parameters [1] {
- Parameter #0 [ <optional> $values ]
+ Parameter #0 [ <optional> $values = <default> ]
}
}
Method [ <internal:ds> public method allocate ] {
- Parameters [1] {
- Parameter #0 [ <required> integer $capacity ]
+ Parameter #0 [ <required> int $capacity ]
}
}
@@ -964,7 +1138,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [0] {
}
- - Return [ integer ]
+ - Return [ int ]
}
Method [ <internal:ds> public method peek ] {
@@ -986,6 +1160,46 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
}
}
+ Method [ <internal:ds, prototype IteratorAggregate> public method getIterator ] {
+
+ - Parameters [0] {
+ }
+ - Return [ Traversable ]
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetExists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $offset ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $offset ]
+ }
+ - Tentative return [ mixed ]
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $offset ]
+ Parameter #1 [ <required> mixed $value ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetUnset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $offset ]
+ }
+ - Tentative return [ void ]
+ }
+
Method [ <internal:ds, prototype Ds\Collection> public method clear ] {
- Parameters [0] {
@@ -1003,20 +1217,21 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [0] {
}
- - Return [ integer ]
+ - Return [ int ]
}
Method [ <internal:ds, prototype Ds\Collection> public method isEmpty ] {
- Parameters [0] {
}
- - Return [ boolean ]
+ - Return [ bool ]
}
Method [ <internal:ds, prototype JsonSerializable> public method jsonSerialize ] {
- Parameters [0] {
}
+ - Tentative return [ mixed ]
}
Method [ <internal:ds, prototype Ds\Collection> public method toArray ] {
@@ -1028,10 +1243,10 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
}
}
- Class [ <internal:ds> <iterateable> final class Ds\Map implements Ds\Collection, JsonSerializable, Countable, Traversable ] {
+ Class [ <internal:ds> <iterateable> final class Ds\Map implements Ds\Collection, JsonSerializable, Countable, Traversable, IteratorAggregate, ArrayAccess ] {
- Constants [1] {
- Constant [ public integer MIN_CAPACITY ] { 8 }
+ Constant [ public int MIN_CAPACITY ] { 8 }
}
- Static properties [0] {
@@ -1043,18 +1258,18 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Properties [0] {
}
- - Methods [38] {
+ - Methods [43] {
Method [ <internal:ds, ctor> public method __construct ] {
- Parameters [1] {
- Parameter #0 [ <optional> $values ]
+ Parameter #0 [ <optional> $values = <default> ]
}
}
Method [ <internal:ds> public method allocate ] {
- Parameters [1] {
- Parameter #0 [ <required> integer $capacity ]
+ Parameter #0 [ <required> int $capacity ]
}
}
@@ -1069,7 +1284,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [0] {
}
- - Return [ integer ]
+ - Return [ int ]
}
Method [ <internal:ds> public method diff ] {
@@ -1083,7 +1298,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds> public method filter ] {
- Parameters [1] {
- Parameter #0 [ <optional> callable or NULL $callback ]
+ Parameter #0 [ <optional> ?callable $callback = <default> ]
}
- Return [ Ds\Map ]
}
@@ -1099,7 +1314,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [2] {
Parameter #0 [ <required> $key ]
- Parameter #1 [ <optional> $default ]
+ Parameter #1 [ <optional> $default = <default> ]
}
}
@@ -1108,7 +1323,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [1] {
Parameter #0 [ <required> $key ]
}
- - Return [ boolean ]
+ - Return [ bool ]
}
Method [ <internal:ds> public method hasValue ] {
@@ -1116,7 +1331,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [1] {
Parameter #0 [ <required> $value ]
}
- - Return [ boolean ]
+ - Return [ bool ]
}
Method [ <internal:ds> public method intersect ] {
@@ -1137,14 +1352,14 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds> public method ksort ] {
- Parameters [1] {
- Parameter #0 [ <optional> callable or NULL $comparator ]
+ Parameter #0 [ <optional> ?callable $comparator = <default> ]
}
}
Method [ <internal:ds> public method ksorted ] {
- Parameters [1] {
- Parameter #0 [ <optional> callable or NULL $comparator ]
+ Parameter #0 [ <optional> ?callable $comparator = <default> ]
}
- Return [ Ds\Map ]
}
@@ -1198,7 +1413,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [2] {
Parameter #0 [ <required> callable $callback ]
- Parameter #1 [ <optional> $initial ]
+ Parameter #1 [ <optional> $initial = <default> ]
}
}
@@ -1206,7 +1421,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [2] {
Parameter #0 [ <required> $key ]
- Parameter #1 [ <optional> $default ]
+ Parameter #1 [ <optional> $default = <default> ]
}
}
@@ -1226,7 +1441,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds> public method skip ] {
- Parameters [1] {
- Parameter #0 [ <required> integer $position ]
+ Parameter #0 [ <required> int $position ]
}
- Return [ Ds\Pair ]
}
@@ -1234,8 +1449,8 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds> public method slice ] {
- Parameters [2] {
- Parameter #0 [ <required> integer $index ]
- Parameter #1 [ <optional> integer or NULL $length ]
+ Parameter #0 [ <required> int $index ]
+ Parameter #1 [ <optional> ?int $length = <default> ]
}
- Return [ Ds\Map ]
}
@@ -1243,14 +1458,14 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds> public method sort ] {
- Parameters [1] {
- Parameter #0 [ <optional> callable or NULL $comparator ]
+ Parameter #0 [ <optional> ?callable $comparator = <default> ]
}
}
Method [ <internal:ds> public method sorted ] {
- Parameters [1] {
- Parameter #0 [ <optional> callable or NULL $comparator ]
+ Parameter #0 [ <optional> ?callable $comparator = <default> ]
}
- Return [ Ds\Map ]
}
@@ -1284,6 +1499,46 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Return [ Ds\Map ]
}
+ Method [ <internal:ds, prototype IteratorAggregate> public method getIterator ] {
+
+ - Parameters [0] {
+ }
+ - Return [ Traversable ]
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetExists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $offset ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $offset ]
+ }
+ - Tentative return [ mixed ]
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $offset ]
+ Parameter #1 [ <required> mixed $value ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetUnset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $offset ]
+ }
+ - Tentative return [ void ]
+ }
+
Method [ <internal:ds, prototype Ds\Collection> public method clear ] {
- Parameters [0] {
@@ -1301,20 +1556,21 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [0] {
}
- - Return [ integer ]
+ - Return [ int ]
}
Method [ <internal:ds, prototype Ds\Collection> public method isEmpty ] {
- Parameters [0] {
}
- - Return [ boolean ]
+ - Return [ bool ]
}
Method [ <internal:ds, prototype JsonSerializable> public method jsonSerialize ] {
- Parameters [0] {
}
+ - Tentative return [ mixed ]
}
Method [ <internal:ds, prototype Ds\Collection> public method toArray ] {
@@ -1326,10 +1582,10 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
}
}
- Class [ <internal:ds> <iterateable> final class Ds\Set implements Ds\Collection, JsonSerializable, Countable, Traversable ] {
+ Class [ <internal:ds> <iterateable> final class Ds\Set implements Ds\Collection, JsonSerializable, Countable, Traversable, IteratorAggregate, ArrayAccess ] {
- Constants [1] {
- Constant [ public integer MIN_CAPACITY ] { 8 }
+ Constant [ public int MIN_CAPACITY ] { 8 }
}
- Static properties [0] {
@@ -1341,11 +1597,11 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Properties [0] {
}
- - Methods [30] {
+ - Methods [35] {
Method [ <internal:ds, ctor> public method __construct ] {
- Parameters [1] {
- Parameter #0 [ <optional> $values ]
+ Parameter #0 [ <optional> $values = <default> ]
}
}
@@ -1359,7 +1615,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds> public method allocate ] {
- Parameters [1] {
- Parameter #0 [ <required> integer $capacity ]
+ Parameter #0 [ <required> int $capacity ]
}
}
@@ -1367,7 +1623,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [0] {
}
- - Return [ integer ]
+ - Return [ int ]
}
Method [ <internal:ds> public method contains ] {
@@ -1375,7 +1631,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [1] {
Parameter #0 [ <optional> ...$values ]
}
- - Return [ boolean ]
+ - Return [ bool ]
}
Method [ <internal:ds> public method diff ] {
@@ -1389,7 +1645,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds> public method filter ] {
- Parameters [1] {
- Parameter #0 [ <optional> callable or NULL $predicate ]
+ Parameter #0 [ <optional> ?callable $predicate = <default> ]
}
- Return [ Ds\Set ]
}
@@ -1403,7 +1659,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds> public method get ] {
- Parameters [1] {
- Parameter #0 [ <required> integer $index ]
+ Parameter #0 [ <required> int $index ]
}
}
@@ -1418,7 +1674,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds> public method join ] {
- Parameters [1] {
- Parameter #0 [ <optional> string $glue ]
+ Parameter #0 [ <optional> string $glue = <default> ]
}
}
@@ -1448,7 +1704,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [2] {
Parameter #0 [ <required> callable $callback ]
- Parameter #1 [ <optional> $initial ]
+ Parameter #1 [ <optional> $initial = <default> ]
}
}
@@ -1475,8 +1731,8 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds> public method slice ] {
- Parameters [2] {
- Parameter #0 [ <required> integer $index ]
- Parameter #1 [ <optional> integer or NULL $length ]
+ Parameter #0 [ <required> int $index ]
+ Parameter #1 [ <optional> ?int $length = <default> ]
}
- Return [ Ds\Set ]
}
@@ -1484,14 +1740,14 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds> public method sort ] {
- Parameters [1] {
- Parameter #0 [ <optional> callable or NULL $comparator ]
+ Parameter #0 [ <optional> ?callable $comparator = <default> ]
}
}
Method [ <internal:ds> public method sorted ] {
- Parameters [1] {
- Parameter #0 [ <optional> callable or NULL $comparator ]
+ Parameter #0 [ <optional> ?callable $comparator = <default> ]
}
- Return [ Ds\Set ]
}
@@ -1518,6 +1774,46 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Return [ Ds\Set ]
}
+ Method [ <internal:ds, prototype IteratorAggregate> public method getIterator ] {
+
+ - Parameters [0] {
+ }
+ - Return [ Traversable ]
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetExists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $offset ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $offset ]
+ }
+ - Tentative return [ mixed ]
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $offset ]
+ Parameter #1 [ <required> mixed $value ]
+ }
+ - Tentative return [ void ]
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetUnset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $offset ]
+ }
+ - Tentative return [ void ]
+ }
+
Method [ <internal:ds, prototype Ds\Collection> public method clear ] {
- Parameters [0] {
@@ -1535,20 +1831,21 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [0] {
}
- - Return [ integer ]
+ - Return [ int ]
}
Method [ <internal:ds, prototype Ds\Collection> public method isEmpty ] {
- Parameters [0] {
}
- - Return [ boolean ]
+ - Return [ bool ]
}
Method [ <internal:ds, prototype JsonSerializable> public method jsonSerialize ] {
- Parameters [0] {
}
+ - Tentative return [ mixed ]
}
Method [ <internal:ds, prototype Ds\Collection> public method toArray ] {
@@ -1560,10 +1857,10 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
}
}
- Class [ <internal:ds> <iterateable> final class Ds\PriorityQueue implements Ds\Collection, JsonSerializable, Countable, Traversable ] {
+ Class [ <internal:ds> <iterateable> final class Ds\PriorityQueue implements Ds\Collection, JsonSerializable, Countable, Traversable, IteratorAggregate ] {
- Constants [1] {
- Constant [ public integer MIN_CAPACITY ] { 8 }
+ Constant [ public int MIN_CAPACITY ] { 8 }
}
- Static properties [0] {
@@ -1575,7 +1872,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Properties [0] {
}
- - Methods [12] {
+ - Methods [13] {
Method [ <internal:ds, ctor> public method __construct ] {
- Parameters [0] {
@@ -1585,7 +1882,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds> public method allocate ] {
- Parameters [1] {
- Parameter #0 [ <required> integer $capacity ]
+ Parameter #0 [ <required> int $capacity ]
}
}
@@ -1593,7 +1890,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [0] {
}
- - Return [ integer ]
+ - Return [ int ]
}
Method [ <internal:ds> public method peek ] {
@@ -1616,6 +1913,13 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
}
}
+ Method [ <internal:ds, prototype IteratorAggregate> public method getIterator ] {
+
+ - Parameters [0] {
+ }
+ - Return [ Traversable ]
+ }
+
Method [ <internal:ds, prototype Ds\Collection> public method clear ] {
- Parameters [0] {
@@ -1633,20 +1937,21 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [0] {
}
- - Return [ integer ]
+ - Return [ int ]
}
Method [ <internal:ds, prototype Ds\Collection> public method isEmpty ] {
- Parameters [0] {
}
- - Return [ boolean ]
+ - Return [ bool ]
}
Method [ <internal:ds, prototype JsonSerializable> public method jsonSerialize ] {
- Parameters [0] {
}
+ - Tentative return [ mixed ]
}
Method [ <internal:ds, prototype Ds\Collection> public method toArray ] {
@@ -1670,16 +1975,16 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
}
- Properties [2] {
- Property [ <default> public $key ]
- Property [ <default> public $value ]
+ Property [ public $key = NULL ]
+ Property [ public $value = NULL ]
}
- Methods [4] {
Method [ <internal:ds, ctor> public method __construct ] {
- Parameters [2] {
- Parameter #0 [ <optional> $key ]
- Parameter #1 [ <optional> $value ]
+ Parameter #0 [ <optional> $key = <default> ]
+ Parameter #1 [ <optional> $value = <default> ]
}
}
@@ -1694,6 +1999,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [0] {
}
+ - Tentative return [ mixed ]
}
Method [ <internal:ds> public method toArray ] {