summaryrefslogtreecommitdiffstats
path: root/REFLECTION
diff options
context:
space:
mode:
Diffstat (limited to 'REFLECTION')
-rw-r--r--REFLECTION446
1 files changed, 355 insertions, 91 deletions
diff --git a/REFLECTION b/REFLECTION
index acddce9..e7c5f64 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #90 ds version 1.2.9 ] {
+Extension [ <persistent> extension #117 ds version 1.3.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,6 +79,9 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Return [ array ]
}
+ Method [ <internal:Core, inherits IteratorAggregate> abstract public method getIterator ] {
+ }
+
Method [ <internal:Core, inherits Countable> abstract public method count ] {
- Parameters [0] {
@@ -93,7 +96,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
}
}
- 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 +110,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 +122,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [0] {
}
- - Return [ integer ]
+ - Return [ int ]
}
Method [ <internal:ds> abstract public method contains ] {
@@ -127,7 +130,7 @@ 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 ] {
@@ -154,14 +157,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 ]
}
}
@@ -220,7 +223,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds> abstract public method remove ] {
- Parameters [1] {
- Parameter #0 [ <required> integer $index ]
+ Parameter #0 [ <required> int $index ]
}
}
@@ -233,14 +236,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 +257,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 or NULL $length ]
}
- Return [ Ds\Sequence ]
}
@@ -291,7 +294,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,6 +304,9 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Return [ array ]
}
+ Method [ <internal:Core, inherits IteratorAggregate> abstract public method getIterator ] {
+ }
+
Method [ <internal:Core, inherits Countable> abstract public method count ] {
- Parameters [0] {
@@ -312,13 +318,42 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [0] {
}
}
+
+ Method [ <internal:Core, inherits ArrayAccess> abstract public method offsetExists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $offset ]
+ }
+ }
+
+ Method [ <internal:Core, inherits ArrayAccess> abstract public method offsetGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $offset ]
+ }
+ }
+
+ Method [ <internal:Core, inherits ArrayAccess> abstract public method offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $offset ]
+ Parameter #1 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:Core, inherits ArrayAccess> abstract public method offsetUnset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $offset ]
+ }
+ }
}
}
- 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,7 +365,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Properties [0] {
}
- - Methods [34] {
+ - Methods [39] {
Method [ <internal:ds, ctor> public method __construct ] {
- Parameters [1] {
@@ -338,10 +373,17 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
}
}
+ Method [ <internal:ds, prototype IteratorAggregate> public method getIterator ] {
+
+ - Parameters [0] {
+ }
+ - Return [ Traversable or NULL ]
+ }
+
Method [ <internal:ds, prototype Ds\Sequence> public method allocate ] {
- Parameters [1] {
- Parameter #0 [ <required> integer $capacity ]
+ Parameter #0 [ <required> int $capacity ]
}
}
@@ -356,7 +398,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,7 +406,7 @@ 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 ] {
@@ -391,14 +433,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 ]
}
}
@@ -433,6 +475,36 @@ 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> $offset ]
+ }
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $offset ]
+ Parameter #1 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetUnset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $offset ]
+ }
+ }
+
Method [ <internal:ds, prototype Ds\Sequence> public method pop ] {
- Parameters [0] {
@@ -457,7 +529,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds, prototype Ds\Sequence> public method remove ] {
- Parameters [1] {
- Parameter #0 [ <required> integer $index ]
+ Parameter #0 [ <required> int $index ]
}
}
@@ -477,14 +549,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 +570,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 or NULL $length ]
}
- Return [ Ds\Sequence ]
}
@@ -549,14 +621,14 @@ 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 ] {
@@ -574,10 +646,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,7 +661,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Properties [0] {
}
- - Methods [34] {
+ - Methods [39] {
Method [ <internal:ds, ctor> public method __construct ] {
- Parameters [1] {
@@ -597,6 +669,13 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
}
}
+ Method [ <internal:ds, prototype IteratorAggregate> public method getIterator ] {
+
+ - Parameters [0] {
+ }
+ - Return [ Traversable or NULL ]
+ }
+
Method [ <internal:ds, prototype Ds\Collection> public method clear ] {
- Parameters [0] {
@@ -614,14 +693,14 @@ 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 ] {
@@ -640,7 +719,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 +734,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,7 +742,7 @@ 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 ] {
@@ -690,14 +769,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 ]
}
}
@@ -732,6 +811,36 @@ 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> $offset ]
+ }
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $offset ]
+ Parameter #1 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetUnset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $offset ]
+ }
+ }
+
Method [ <internal:ds, prototype Ds\Sequence> public method pop ] {
- Parameters [0] {
@@ -756,7 +865,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
Method [ <internal:ds, prototype Ds\Sequence> public method remove ] {
- Parameters [1] {
- Parameter #0 [ <required> integer $index ]
+ Parameter #0 [ <required> int $index ]
}
}
@@ -776,14 +885,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 +906,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 or NULL $length ]
}
- Return [ Ds\Sequence ]
}
@@ -833,7 +942,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,7 +956,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Properties [0] {
}
- - Methods [12] {
+ - Methods [17] {
Method [ <internal:ds, ctor> public method __construct ] {
- Parameters [1] {
@@ -858,7 +967,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 ]
}
}
@@ -866,7 +975,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [0] {
}
- - Return [ integer ]
+ - Return [ int ]
}
Method [ <internal:ds> public method peek ] {
@@ -888,6 +997,43 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
}
}
+ Method [ <internal:ds, prototype IteratorAggregate> public method getIterator ] {
+
+ - Parameters [0] {
+ }
+ - Return [ Traversable or NULL ]
+ }
+
+ 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> $offset ]
+ }
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $offset ]
+ Parameter #1 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetUnset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $offset ]
+ }
+ }
+
Method [ <internal:ds, prototype Ds\Collection> public method clear ] {
- Parameters [0] {
@@ -905,14 +1051,14 @@ 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 ] {
@@ -930,10 +1076,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 ] {
- Constants [1] {
- Constant [ public integer MIN_CAPACITY ] { 8 }
+ Constant [ public int MIN_CAPACITY ] { 8 }
}
- Static properties [0] {
@@ -945,7 +1091,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Properties [0] {
}
- - Methods [12] {
+ - Methods [17] {
Method [ <internal:ds, ctor> public method __construct ] {
- Parameters [1] {
@@ -956,7 +1102,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 ]
}
}
@@ -964,7 +1110,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [0] {
}
- - Return [ integer ]
+ - Return [ int ]
}
Method [ <internal:ds> public method peek ] {
@@ -986,6 +1132,43 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
}
}
+ Method [ <internal:ds, prototype IteratorAggregate> public method getIterator ] {
+
+ - Parameters [0] {
+ }
+ - Return [ Traversable or NULL ]
+ }
+
+ Method [ <internal:ds> public method offsetExists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $offset ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:ds> public method offsetGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $offset ]
+ }
+ }
+
+ Method [ <internal:ds> public method offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $offset ]
+ Parameter #1 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:ds> public method offsetUnset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $offset ]
+ }
+ }
+
Method [ <internal:ds, prototype Ds\Collection> public method clear ] {
- Parameters [0] {
@@ -1003,14 +1186,14 @@ 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 ] {
@@ -1028,10 +1211,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,7 +1226,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Properties [0] {
}
- - Methods [38] {
+ - Methods [43] {
Method [ <internal:ds, ctor> public method __construct ] {
- Parameters [1] {
@@ -1054,7 +1237,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 ]
}
}
@@ -1069,7 +1252,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [0] {
}
- - Return [ integer ]
+ - Return [ int ]
}
Method [ <internal:ds> public method diff ] {
@@ -1108,7 +1291,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 +1299,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 ] {
@@ -1226,7 +1409,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 +1417,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 or NULL $length ]
}
- Return [ Ds\Map ]
}
@@ -1284,6 +1467,43 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Return [ Ds\Map ]
}
+ Method [ <internal:ds, prototype IteratorAggregate> public method getIterator ] {
+
+ - Parameters [0] {
+ }
+ - Return [ Traversable or NULL ]
+ }
+
+ 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> $offset ]
+ }
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $offset ]
+ Parameter #1 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:ds, prototype ArrayAccess> public method offsetUnset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $offset ]
+ }
+ }
+
Method [ <internal:ds, prototype Ds\Collection> public method clear ] {
- Parameters [0] {
@@ -1301,14 +1521,14 @@ 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 ] {
@@ -1326,10 +1546,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 ] {
- Constants [1] {
- Constant [ public integer MIN_CAPACITY ] { 8 }
+ Constant [ public int MIN_CAPACITY ] { 8 }
}
- Static properties [0] {
@@ -1341,7 +1561,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Properties [0] {
}
- - Methods [30] {
+ - Methods [35] {
Method [ <internal:ds, ctor> public method __construct ] {
- Parameters [1] {
@@ -1359,7 +1579,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 +1587,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [0] {
}
- - Return [ integer ]
+ - Return [ int ]
}
Method [ <internal:ds> public method contains ] {
@@ -1375,7 +1595,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 ] {
@@ -1403,7 +1623,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 ]
}
}
@@ -1475,8 +1695,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 or NULL $length ]
}
- Return [ Ds\Set ]
}
@@ -1518,6 +1738,43 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Return [ Ds\Set ]
}
+ Method [ <internal:ds, prototype IteratorAggregate> public method getIterator ] {
+
+ - Parameters [0] {
+ }
+ - Return [ Traversable or NULL ]
+ }
+
+ Method [ <internal:ds> public method offsetExists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $offset ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:ds> public method offsetGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $offset ]
+ }
+ }
+
+ Method [ <internal:ds> public method offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $offset ]
+ Parameter #1 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:ds> public method offsetUnset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $offset ]
+ }
+ }
+
Method [ <internal:ds, prototype Ds\Collection> public method clear ] {
- Parameters [0] {
@@ -1535,14 +1792,14 @@ 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 ] {
@@ -1560,10 +1817,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 +1832,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 +1842,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 +1850,7 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
- Parameters [0] {
}
- - Return [ integer ]
+ - Return [ int ]
}
Method [ <internal:ds> public method peek ] {
@@ -1616,6 +1873,13 @@ Extension [ <persistent> extension #90 ds version 1.2.9 ] {
}
}
+ Method [ <internal:ds, prototype IteratorAggregate> public method getIterator ] {
+
+ - Parameters [0] {
+ }
+ - Return [ Traversable or NULL ]
+ }
+
Method [ <internal:ds, prototype Ds\Collection> public method clear ] {
- Parameters [0] {
@@ -1633,14 +1897,14 @@ 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 ] {