summaryrefslogtreecommitdiffstats
path: root/REFLECTION
diff options
context:
space:
mode:
Diffstat (limited to 'REFLECTION')
-rw-r--r--REFLECTION274
1 files changed, 187 insertions, 87 deletions
diff --git a/REFLECTION b/REFLECTION
index 3379c68..452ebc6 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #91 php_trie version 0.1.0 ] {
+Extension [ <persistent> extension #120 php_trie version 0.1.1 ] {
- Dependencies {
Dependency [ json (Required) ]
@@ -6,6 +6,9 @@ Extension [ <persistent> extension #91 php_trie version 0.1.0 ] {
- Functions {
Function [ <internal:php_trie, ctor> function __construct ] {
+
+ - Parameters [0] {
+ }
}
Function [ <internal:php_trie> static function fromArray ] {
@@ -16,58 +19,78 @@ Extension [ <persistent> extension #91 php_trie version 0.1.0 ] {
Function [ <internal:php_trie> function insert ] {
- Parameters [2] {
- Parameter #0 [ <required> $key ]
- Parameter #1 [ <required> $entry ]
+ Parameter #0 [ <required> mixed $key ]
+ Parameter #1 [ <required> mixed $entry ]
}
+ - Return [ void ]
}
- Function [ <internal:php_trie> function keyExists ] {
+ Function [ <internal:php_trie> function search ] {
- Parameters [1] {
- Parameter #0 [ <required> $key ]
+ Parameter #0 [ <required> mixed $key ]
}
+ - Return [ mixed ]
}
- Function [ <internal:php_trie> function search ] {
+ Function [ <internal:php_trie> function size ] {
- - Parameters [1] {
- Parameter #0 [ <required> $key ]
+ - Parameters [0] {
}
+ - Return [ int ]
}
- Function [ <internal:php_trie> function erase ] {
+ Function [ <internal:php_trie> function toArray ] {
- - Parameters [1] {
- Parameter #0 [ <required> $key ]
+ - Parameters [0] {
}
+ - Return [ array ]
}
- Function [ <internal:php_trie> function size ] {
- }
- Function [ <internal:php_trie> function offsetSet ] {
+ Function [ <internal:php_trie> function jsonSerialize ] {
- - Parameters [2] {
- Parameter #0 [ <required> $key ]
- Parameter #1 [ <required> $entry ]
+ - Parameters [0] {
}
+ - Return [ mixed ]
}
- Function [ <internal:php_trie> function offsetGet ] {
+ Function [ <internal:php_trie> function keyExists ] {
- Parameters [1] {
- Parameter #0 [ <required> $key ]
+ Parameter #0 [ <required> mixed $key ]
}
+ - Return [ bool ]
}
Function [ <internal:php_trie> function offsetExists ] {
- Parameters [1] {
- Parameter #0 [ <required> $key ]
+ Parameter #0 [ <required> mixed $key ]
}
+ - Return [ bool ]
}
Function [ <internal:php_trie> function offsetUnset ] {
- Parameters [1] {
- Parameter #0 [ <required> $key ]
+ Parameter #0 [ <required> mixed $key ]
}
+ - Return [ void ]
}
- Function [ <internal:php_trie> function toArray ] {
+ Function [ <internal:php_trie> function erase ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $key ]
+ }
+ - Return [ void ]
}
- Function [ <internal:php_trie> function jsonSerialize ] {
+ Function [ <internal:php_trie> function offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $key ]
+ Parameter #1 [ <required> mixed $entry ]
+ }
+ - Return [ void ]
+ }
+ Function [ <internal:php_trie> function offsetGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $key ]
+ }
+ - Return [ mixed ]
}
Function [ <internal:php_trie> function prefixSearch ] {
@@ -119,73 +142,96 @@ Extension [ <persistent> extension #91 php_trie version 0.1.0 ] {
- Methods [16] {
Method [ <internal:php_trie, ctor> public method __construct ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:php_trie> public method insert ] {
- Parameters [2] {
- Parameter #0 [ <required> $key ]
- Parameter #1 [ <required> $entry ]
+ Parameter #0 [ <required> mixed $key ]
+ Parameter #1 [ <required> mixed $entry ]
}
+ - Return [ void ]
}
- Method [ <internal:php_trie> public method keyExists ] {
+ Method [ <internal:php_trie> public method search ] {
- Parameters [1] {
- Parameter #0 [ <required> $key ]
+ Parameter #0 [ <required> mixed $key ]
}
+ - Return [ mixed ]
}
- Method [ <internal:php_trie> public method search ] {
+ Method [ <internal:php_trie> public method size ] {
- - Parameters [1] {
- Parameter #0 [ <required> $key ]
+ - Parameters [0] {
}
+ - Return [ int ]
}
- Method [ <internal:php_trie> public method erase ] {
+ Method [ <internal:php_trie> public method toArray ] {
- - Parameters [1] {
- Parameter #0 [ <required> $key ]
+ - Parameters [0] {
}
+ - Return [ array ]
}
- Method [ <internal:php_trie> public method size ] {
- }
-
- Method [ <internal:php_trie, prototype ArrayAccess> public method offsetSet ] {
+ Method [ <internal:php_trie, prototype JsonSerializable> public method jsonSerialize ] {
- - Parameters [2] {
- Parameter #0 [ <required> $key ]
- Parameter #1 [ <required> $entry ]
+ - Parameters [0] {
}
+ - Return [ mixed ]
}
- Method [ <internal:php_trie, prototype ArrayAccess> public method offsetGet ] {
+ Method [ <internal:php_trie> public method keyExists ] {
- Parameters [1] {
- Parameter #0 [ <required> $key ]
+ Parameter #0 [ <required> mixed $key ]
}
+ - Return [ bool ]
}
Method [ <internal:php_trie, prototype ArrayAccess> public method offsetExists ] {
- Parameters [1] {
- Parameter #0 [ <required> $key ]
+ Parameter #0 [ <required> mixed $key ]
}
+ - Return [ bool ]
}
Method [ <internal:php_trie, prototype ArrayAccess> public method offsetUnset ] {
- Parameters [1] {
- Parameter #0 [ <required> $key ]
+ Parameter #0 [ <required> mixed $key ]
}
+ - Return [ void ]
}
- Method [ <internal:php_trie> public method toArray ] {
+ Method [ <internal:php_trie> public method erase ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $key ]
+ }
+ - Return [ void ]
}
- Method [ <internal:php_trie, prototype JsonSerializable> public method jsonSerialize ] {
+ Method [ <internal:php_trie, prototype ArrayAccess> public method offsetSet ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $key ]
+ Parameter #1 [ <required> mixed $entry ]
+ }
+ - Return [ void ]
+ }
+
+ Method [ <internal:php_trie, prototype ArrayAccess> public method offsetGet ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $key ]
+ }
+ - Return [ mixed ]
}
Method [ <internal:php_trie> public method prefixSearch ] {
@@ -265,42 +311,71 @@ Extension [ <persistent> extension #91 php_trie version 0.1.0 ] {
}
Method [ <internal:php_trie> public method size ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
}
- Method [ <internal:php_trie> public method filter ] {
+ Method [ <internal:php_trie> public method toArray ] {
- - Parameters [1] {
- Parameter #0 [ <required> callable $func ]
+ - Parameters [0] {
}
+ - Return [ array ]
}
- Method [ <internal:php_trie> public method insert ] {
+ Method [ <internal:php_trie, prototype JsonSerializable> public method jsonSerialize ] {
- - Parameters [2] {
- Parameter #0 [ <required> $key ]
- Parameter #1 [ <required> $entry ]
+ - Parameters [0] {
}
+ - Return [ mixed ]
}
Method [ <internal:php_trie> public method keyExists ] {
- Parameters [1] {
- Parameter #0 [ <required> $key ]
+ Parameter #0 [ <required> mixed $key ]
}
+ - Return [ bool ]
}
- Method [ <internal:php_trie> public method search ] {
+ Method [ <internal:php_trie, prototype ArrayAccess> public method offsetExists ] {
- Parameters [1] {
- Parameter #0 [ <required> $key ]
+ Parameter #0 [ <required> mixed $key ]
}
+ - Return [ bool ]
+ }
+
+ Method [ <internal:php_trie, prototype ArrayAccess> public method offsetUnset ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $key ]
+ }
+ - Return [ void ]
}
Method [ <internal:php_trie> public method erase ] {
- Parameters [1] {
- Parameter #0 [ <required> $key ]
+ Parameter #0 [ <required> mixed $key ]
}
+ - Return [ void ]
+ }
+
+ Method [ <internal:php_trie> public method filter ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $func ]
+ }
+ }
+
+ Method [ <internal:php_trie> public method search ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> mixed $key ]
+ }
+ - Return [ mixed ]
}
Method [ <internal:php_trie> public method prefixSearch ] {
@@ -331,39 +406,30 @@ Extension [ <persistent> extension #91 php_trie version 0.1.0 ] {
}
}
- Method [ <internal:php_trie, prototype ArrayAccess> public method offsetSet ] {
+ Method [ <internal:php_trie> public method insert ] {
- Parameters [2] {
- Parameter #0 [ <required> $key ]
- Parameter #1 [ <required> $entry ]
+ Parameter #0 [ <required> mixed $key ]
+ Parameter #1 [ <required> mixed $entry ]
}
+ - Return [ void ]
}
- Method [ <internal:php_trie, prototype ArrayAccess> public method offsetGet ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $key ]
- }
- }
-
- Method [ <internal:php_trie, prototype ArrayAccess> public method offsetExists ] {
+ Method [ <internal:php_trie, prototype ArrayAccess> public method offsetSet ] {
- - Parameters [1] {
- Parameter #0 [ <required> $key ]
+ - Parameters [2] {
+ Parameter #0 [ <required> mixed $key ]
+ Parameter #1 [ <required> mixed $entry ]
}
+ - Return [ void ]
}
- Method [ <internal:php_trie, prototype ArrayAccess> public method offsetUnset ] {
+ Method [ <internal:php_trie, prototype ArrayAccess> public method offsetGet ] {
- Parameters [1] {
- Parameter #0 [ <required> $key ]
+ Parameter #0 [ <required> mixed $key ]
}
- }
-
- Method [ <internal:php_trie> public method toArray ] {
- }
-
- Method [ <internal:php_trie, prototype JsonSerializable> public method jsonSerialize ] {
+ - Return [ mixed ]
}
Method [ <internal:php_trie> public method merge ] {
@@ -376,7 +442,7 @@ Extension [ <persistent> extension #91 php_trie version 0.1.0 ] {
}
}
- Class [ <internal:php_trie> class TrieException extends RuntimeException implements Throwable ] {
+ Class [ <internal:php_trie> class TrieException extends Exception implements Throwable, Stringable ] {
- Constants [0] {
}
@@ -388,47 +454,81 @@ Extension [ <persistent> extension #91 php_trie version 0.1.0 ] {
}
- Properties [4] {
- Property [ <default> protected $message ]
- Property [ <default> protected $code ]
- Property [ <default> protected $file ]
- Property [ <default> protected $line ]
+ 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> $message ]
- Parameter #1 [ <optional> $code ]
- Parameter #2 [ <optional> $previous ]
+ Parameter #0 [ <optional> string $message = "" ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
}
}
Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+
+ - 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 Throwable> public method __toString ] {
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
}
}