From 30b274e28490f1371c90322f6930583928f516c0 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 9 Sep 2020 09:59:32 +0200 Subject: new package --- REFLECTION | 437 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 437 insertions(+) create mode 100644 REFLECTION (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..3379c68 --- /dev/null +++ b/REFLECTION @@ -0,0 +1,437 @@ +Extension [ extension #91 php_trie version 0.1.0 ] { + + - Dependencies { + Dependency [ json (Required) ] + } + + - Functions { + Function [ function __construct ] { + } + Function [ static function fromArray ] { + + - Parameters [1] { + Parameter #0 [ array $array ] + } + } + Function [ function insert ] { + + - Parameters [2] { + Parameter #0 [ $key ] + Parameter #1 [ $entry ] + } + } + Function [ function keyExists ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + Function [ function search ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + Function [ function erase ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + Function [ function size ] { + } + Function [ function offsetSet ] { + + - Parameters [2] { + Parameter #0 [ $key ] + Parameter #1 [ $entry ] + } + } + Function [ function offsetGet ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + Function [ function offsetExists ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + Function [ function offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + Function [ function toArray ] { + } + Function [ function jsonSerialize ] { + } + Function [ function prefixSearch ] { + + - Parameters [1] { + Parameter #0 [ $prefix ] + } + } + Function [ function map ] { + + - Parameters [1] { + Parameter #0 [ callable $func ] + } + } + Function [ function filter ] { + + - Parameters [1] { + Parameter #0 [ callable $func ] + } + } + Function [ function merge ] { + + - Parameters [1] { + Parameter #0 [ object ...$tries ] + } + - Return [ array ] + } + } + + - Classes [3] { + Class [ class Trie implements ArrayAccess, JsonSerializable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ static public method fromArray ] { + + - Parameters [1] { + Parameter #0 [ array $array ] + } + } + } + + - Properties [0] { + } + + - Methods [16] { + Method [ public method __construct ] { + } + + Method [ public method insert ] { + + - Parameters [2] { + Parameter #0 [ $key ] + Parameter #1 [ $entry ] + } + } + + Method [ public method keyExists ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + + Method [ public method search ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + + Method [ public method erase ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + + Method [ public method size ] { + } + + Method [ public method offsetSet ] { + + - Parameters [2] { + Parameter #0 [ $key ] + Parameter #1 [ $entry ] + } + } + + Method [ public method offsetGet ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + + Method [ public method offsetExists ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + + Method [ public method offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + + Method [ public method toArray ] { + } + + Method [ public method jsonSerialize ] { + } + + Method [ public method prefixSearch ] { + + - Parameters [1] { + Parameter #0 [ $prefix ] + } + } + + Method [ public method map ] { + + - Parameters [1] { + Parameter #0 [ callable $func ] + } + } + + Method [ public method filter ] { + + - Parameters [1] { + Parameter #0 [ callable $func ] + } + } + + Method [ public method merge ] { + + - Parameters [1] { + Parameter #0 [ object ...$tries ] + } + - Return [ array ] + } + } + } + + Class [ class HatTrie implements ArrayAccess, JsonSerializable ] { + + - Constants [4] { + Constant [ public bool SHRINK ] { 1 } + Constant [ public bool NO_SHRINK ] { } + Constant [ public float DEFAULT_LOAD_FACTOR ] { 8 } + Constant [ public int DEFAULT_BURST_THRESHOLD ] { 16384 } + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ static public method fromArray ] { + + - Parameters [4] { + Parameter #0 [ array $array ] + Parameter #1 [ $burstThreshold ] + Parameter #2 [ $loadFactor ] + Parameter #3 [ $shrink ] + } + } + } + + - Properties [0] { + } + + - Methods [19] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $burstThreshold ] + Parameter #1 [ $loadFactor ] + Parameter #2 [ $shrink ] + } + } + + Method [ public method fold ] { + + - Parameters [2] { + Parameter #0 [ callable $func ] + Parameter #1 [ $accumulator ] + } + } + + Method [ public method size ] { + } + + Method [ public method filter ] { + + - Parameters [1] { + Parameter #0 [ callable $func ] + } + } + + Method [ public method insert ] { + + - Parameters [2] { + Parameter #0 [ $key ] + Parameter #1 [ $entry ] + } + } + + Method [ public method keyExists ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + + Method [ public method search ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + + Method [ public method erase ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + + Method [ public method prefixSearch ] { + + - Parameters [1] { + Parameter #0 [ $prefix ] + } + } + + Method [ public method prefixErase ] { + + - Parameters [1] { + Parameter #0 [ $prefix ] + } + } + + Method [ public method longestPrefix ] { + + - Parameters [1] { + Parameter #0 [ $prefix ] + } + } + + Method [ public method map ] { + + - Parameters [1] { + Parameter #0 [ callable $func ] + } + } + + Method [ public method offsetSet ] { + + - Parameters [2] { + Parameter #0 [ $key ] + Parameter #1 [ $entry ] + } + } + + Method [ public method offsetGet ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + + Method [ public method offsetExists ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + + Method [ public method offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + + Method [ public method toArray ] { + } + + Method [ public method jsonSerialize ] { + } + + Method [ public method merge ] { + + - Parameters [1] { + Parameter #0 [ object ...$tries ] + } + - Return [ array ] + } + } + } + + Class [ class TrieException extends RuntimeException implements Throwable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + } +} + -- cgit