From dcf5fed2a27d307ed2ad663f5da4cbb8bd135469 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 13 May 2022 16:15:42 +0200 Subject: update to 0.2.0 --- REFLECTION | 344 ++++++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 239 insertions(+), 105 deletions(-) (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION index b1aeb70..9d170ed 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #86 ion version 0.1.0 ] { +Extension [ extension #86 ion version 0.2.0 ] { - Dependencies { Dependency [ date (Required) ] @@ -10,7 +10,7 @@ Extension [ extension #86 ion version 0.1.0 ] { - Parameters [2] { Parameter #0 [ mixed $data ] - Parameter #1 [ ?ion\Serializer $serializer = null ] + Parameter #1 [ ion\Serializer|array|null $serializer = null ] } - Return [ string ] } @@ -18,13 +18,13 @@ Extension [ extension #86 ion version 0.1.0 ] { - Parameters [2] { Parameter #0 [ $data ] - Parameter #1 [ ?ion\Unserializer $unserializer = null ] + Parameter #1 [ ion\Unserializer|array|null $unserializer = null ] } - Return [ mixed ] } } - - Classes [35] { + - Classes [34] { Class [ class ion\Catalog implements Countable ] { - Constants [0] { @@ -264,6 +264,98 @@ Extension [ extension #86 ion version 0.1.0 ] { } } + Class [ class ion\Exception extends Exception implements Throwable, Stringable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message = '' ] + Property [ protected $code = 0 ] + Property [ protected string $file = '' ] + Property [ protected int $line = 0 ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ string $message = "" ] + Parameter #1 [ int $code = 0 ] + Parameter #2 [ ?Throwable $previous = null ] + } + } + + Method [ public method __wakeup ] { + + - Parameters [0] { + } + - Tentative return [ void ] + } + + Method [ final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ final public method getCode ] { + + - Parameters [0] { + } + } + + Method [ final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] + } + + Method [ final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] + } + } + } + Class [ class ion\LOB ] { - Constants [0] { @@ -562,7 +654,7 @@ Extension [ extension #86 ion version 0.1.0 ] { } } - Class [ class ion\Reader\Options ] { + Class [ abstract class ion\Reader\Reader implements ion\Reader, Iterator, Traversable, RecursiveIterator ] { - Constants [0] { } @@ -585,40 +677,23 @@ Extension [ extension #86 ion version 0.1.0 ] { Property [ public readonly bool $skipCharacterValidation ] } - - Methods [1] { + - Methods [36] { Method [ public method __construct ] { - - Parameters [9] { - Parameter #0 [ ?ion\Catalog $catalog = null ] - Parameter #1 [ ?ion\Decimal\Context $decimalContext = null ] - Parameter #2 [ ?Closure $onContextChange = null ] - Parameter #3 [ bool $returnSystemValues = false ] - Parameter #4 [ int $maxContainerDepth = 10 ] - Parameter #5 [ int $maxAnnotations = 10 ] - Parameter #6 [ int $annotationBufferSize = 0x4000 ] - Parameter #7 [ int $tempBufferSize = 0x4000 ] - Parameter #8 [ bool $skipCharacterValidation = false ] + - Parameters [10] { + Parameter #0 [ $data ] + Parameter #1 [ ?ion\Catalog $catalog = null ] + Parameter #2 [ ?ion\Decimal\Context $decimalContext = null ] + Parameter #3 [ ?Closure $onContextChange = null ] + Parameter #4 [ bool $returnSystemValues = false ] + Parameter #5 [ int $maxContainerDepth = 10 ] + Parameter #6 [ int $maxAnnotations = 10 ] + Parameter #7 [ int $annotationBufferSize = 0x4000 ] + Parameter #8 [ int $tempBufferSize = 0x4000 ] + Parameter #9 [ bool $skipCharacterValidation = false ] } } - } - } - - Class [ abstract class ion\Reader\Reader implements ion\Reader, Iterator, Traversable, RecursiveIterator ] { - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [1] { - Property [ public readonly ?ion\Reader\Options $options ] - } - - - Methods [35] { Method [ public method hasChildren ] { - Parameters [0] { @@ -1164,24 +1239,40 @@ Extension [ extension #86 ion version 0.1.0 ] { - Static methods [0] { } - - Properties [1] { - Property [ public readonly ?ion\Reader\Options $options ] + - Properties [9] { + Property [ public readonly ?ion\Catalog $catalog ] + Property [ public readonly ?ion\Decimal\Context $decimalContext ] + Property [ public readonly ?Closure $onContextChange ] + Property [ public readonly bool $returnSystemValues ] + Property [ public readonly int $maxContainerDepth ] + Property [ public readonly int $maxAnnotations ] + Property [ public readonly int $annotationBufferSize ] + Property [ public readonly int $tempBufferSize ] + Property [ public readonly bool $skipCharacterValidation ] } - Methods [37] { - Method [ public method __construct ] { + Method [ public method getBuffer ] { - - Parameters [2] { - Parameter #0 [ string $buffer ] - Parameter #1 [ ?ion\Reader\Options $options = null ] + - Parameters [0] { } + - Return [ string ] } - Method [ public method getBuffer ] { + Method [ public method __construct ] { - - Parameters [0] { + - Parameters [10] { + Parameter #0 [ $data ] + Parameter #1 [ ?ion\Catalog $catalog = null ] + Parameter #2 [ ?ion\Decimal\Context $decimalContext = null ] + Parameter #3 [ ?Closure $onContextChange = null ] + Parameter #4 [ bool $returnSystemValues = false ] + Parameter #5 [ int $maxContainerDepth = 10 ] + Parameter #6 [ int $maxAnnotations = 10 ] + Parameter #7 [ int $annotationBufferSize = 0x4000 ] + Parameter #8 [ int $tempBufferSize = 0x4000 ] + Parameter #9 [ bool $skipCharacterValidation = false ] } - - Return [ string ] } Method [ public method hasChildren ] { @@ -1745,19 +1836,19 @@ Extension [ extension #86 ion version 0.1.0 ] { - Static methods [0] { } - - Properties [1] { - Property [ public readonly ?ion\Reader\Options $options ] + - Properties [9] { + Property [ public readonly ?ion\Catalog $catalog ] + Property [ public readonly ?ion\Decimal\Context $decimalContext ] + Property [ public readonly ?Closure $onContextChange ] + Property [ public readonly bool $returnSystemValues ] + Property [ public readonly int $maxContainerDepth ] + Property [ public readonly int $maxAnnotations ] + Property [ public readonly int $annotationBufferSize ] + Property [ public readonly int $tempBufferSize ] + Property [ public readonly bool $skipCharacterValidation ] } - Methods [39] { - Method [ public method __construct ] { - - - Parameters [2] { - Parameter #0 [ $stream ] - Parameter #1 [ ?ion\Reader\Options $options = null ] - } - } - Method [ public method getStream ] { - Parameters [0] { @@ -1781,6 +1872,22 @@ Extension [ extension #86 ion version 0.1.0 ] { - Return [ void ] } + Method [ public method __construct ] { + + - Parameters [10] { + Parameter #0 [ $data ] + Parameter #1 [ ?ion\Catalog $catalog = null ] + Parameter #2 [ ?ion\Decimal\Context $decimalContext = null ] + Parameter #3 [ ?Closure $onContextChange = null ] + Parameter #4 [ bool $returnSystemValues = false ] + Parameter #5 [ int $maxContainerDepth = 10 ] + Parameter #6 [ int $maxAnnotations = 10 ] + Parameter #7 [ int $annotationBufferSize = 0x4000 ] + Parameter #8 [ int $tempBufferSize = 0x4000 ] + Parameter #9 [ bool $skipCharacterValidation = false ] + } + } + Method [ public method hasChildren ] { - Parameters [0] { @@ -2054,15 +2161,16 @@ Extension [ extension #86 ion version 0.1.0 ] { - Methods [1] { Method [ abstract public method serialize ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ mixed $data ] + Parameter #1 [ ion\Writer|array|null $writer = null ] } - - Return [ string ] + - Return [ mixed ] } } } - Class [ class ion\Serializer\PHP implements ion\Serializer ] { + Class [ class ion\Serializer\Serializer implements ion\Serializer ] { - Constants [0] { } @@ -2073,8 +2181,7 @@ Extension [ extension #86 ion version 0.1.0 ] { - Static methods [0] { } - - Properties [4] { - Property [ public readonly ?ion\Writer\Options $writerOptions ] + - Properties [3] { Property [ public readonly bool $multiSequence ] Property [ public readonly bool $callMagicSerialize ] Property [ public readonly ?string $callCustomSerialize ] @@ -2083,20 +2190,20 @@ Extension [ extension #86 ion version 0.1.0 ] { - Methods [2] { Method [ public method __construct ] { - - Parameters [4] { - Parameter #0 [ ?ion\Writer\Options $writerOptions = null ] - Parameter #1 [ bool $multiSequence = false ] - Parameter #2 [ bool $callMagicSerialize = true ] - Parameter #3 [ ?string $callCustomSerialize = null ] + - Parameters [3] { + Parameter #0 [ bool $multiSequence = false ] + Parameter #1 [ bool $callMagicSerialize = true ] + Parameter #2 [ ?string $callCustomSerialize = null ] } } Method [ public method serialize ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ mixed $data ] + Parameter #1 [ ion\Writer|array|null $writer = null ] } - - Return [ string ] + - Return [ mixed ] } } } @@ -2622,7 +2729,7 @@ Extension [ extension #86 ion version 0.1.0 ] { Parameter #0 [ ion\Timestamp\Precision|int $precision ] Parameter #1 [ ion\Timestamp\Format|string|null $format = null ] Parameter #2 [ ?string $datetime = null ] - Parameter #3 [ ?DateTimeZone $timezone = null ] + Parameter #3 [ DateTimeZone|string|null $timezone = null ] } } @@ -3090,7 +3197,7 @@ Extension [ extension #86 ion version 0.1.0 ] { } } - Class [ class ion\Writer\Options ] { + Class [ abstract class ion\Writer\Writer implements ion\Writer ] { - Constants [0] { } @@ -3116,7 +3223,7 @@ Extension [ extension #86 ion version 0.1.0 ] { Property [ public readonly int $tempBufferSize ] } - - Methods [1] { + - Methods [22] { Method [ public method __construct ] { - Parameters [12] { @@ -3134,24 +3241,7 @@ Extension [ extension #86 ion version 0.1.0 ] { Parameter #11 [ int $tempBufferSize = 0x4000 ] } } - } - } - - Class [ abstract class ion\Writer\Writer implements ion\Writer ] { - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [0] { - } - - - Methods [21] { Method [ public method writeNull ] { - Parameters [0] { @@ -3520,17 +3610,22 @@ Extension [ extension #86 ion version 0.1.0 ] { - Static methods [0] { } - - Properties [0] { + - Properties [12] { + Property [ public readonly ?ion\Catalog $catalog ] + Property [ public readonly ?ion\Decimal\Context $decimalContext ] + Property [ public readonly bool $outputBinary ] + Property [ public readonly bool $compactFloats ] + Property [ public readonly bool $escapeNonAscii ] + Property [ public readonly bool $prettyPrint ] + Property [ public readonly bool $indentTabs ] + Property [ public readonly int $indentSize ] + Property [ public readonly bool $flushEveryValue ] + Property [ public readonly int $maxContainerDepth ] + Property [ public readonly int $maxAnnotations ] + Property [ public readonly int $tempBufferSize ] } - Methods [24] { - Method [ public method __construct ] { - - - Parameters [1] { - Parameter #0 [ ?ion\Writer\Options $options = null ] - } - } - Method [ public method getBuffer ] { - Parameters [0] { @@ -3545,6 +3640,24 @@ Extension [ extension #86 ion version 0.1.0 ] { - Return [ void ] } + Method [ public method __construct ] { + + - Parameters [12] { + Parameter #0 [ ?ion\Catalog $catalog = null ] + Parameter #1 [ ?ion\Decimal\Context $decimalContext = null ] + Parameter #2 [ bool $outputBinary = false ] + Parameter #3 [ bool $compactFloats = false ] + Parameter #4 [ bool $escapeNonAscii = false ] + Parameter #5 [ bool $prettyPrint = false ] + Parameter #6 [ bool $indentTabs = true ] + Parameter #7 [ int $indentSize = 2 ] + Parameter #8 [ bool $flushEveryValue = false ] + Parameter #9 [ int $maxContainerDepth = 10 ] + Parameter #10 [ int $maxAnnotations = 10 ] + Parameter #11 [ int $tempBufferSize = 0x4000 ] + } + } + Method [ public method writeNull ] { - Parameters [0] { @@ -3905,15 +4018,38 @@ Extension [ extension #86 ion version 0.1.0 ] { - Static methods [0] { } - - Properties [0] { + - Properties [12] { + Property [ public readonly ?ion\Catalog $catalog ] + Property [ public readonly ?ion\Decimal\Context $decimalContext ] + Property [ public readonly bool $outputBinary ] + Property [ public readonly bool $compactFloats ] + Property [ public readonly bool $escapeNonAscii ] + Property [ public readonly bool $prettyPrint ] + Property [ public readonly bool $indentTabs ] + Property [ public readonly int $indentSize ] + Property [ public readonly bool $flushEveryValue ] + Property [ public readonly int $maxContainerDepth ] + Property [ public readonly int $maxAnnotations ] + Property [ public readonly int $tempBufferSize ] } - Methods [23] { - Method [ public method __construct ] { + Method [ public method __construct ] { - - Parameters [2] { + - Parameters [13] { Parameter #0 [ $stream ] - Parameter #1 [ ?ion\Writer\Options $options = null ] + Parameter #1 [ ?ion\Catalog $catalog = null ] + Parameter #2 [ ?ion\Decimal\Context $decimalContext = null ] + Parameter #3 [ bool $outputBinary = false ] + Parameter #4 [ bool $compactFloats = false ] + Parameter #5 [ bool $escapeNonAscii = false ] + Parameter #6 [ bool $prettyPrint = false ] + Parameter #7 [ bool $indentTabs = true ] + Parameter #8 [ int $indentSize = 2 ] + Parameter #9 [ bool $flushEveryValue = false ] + Parameter #10 [ int $maxContainerDepth = 10 ] + Parameter #11 [ int $maxAnnotations = 10 ] + Parameter #12 [ int $tempBufferSize = 0x4000 ] } } @@ -4112,7 +4248,7 @@ Extension [ extension #86 ion version 0.1.0 ] { } } - Class [ class ion\Unserializer\PHP implements ion\Unserializer ] { + Class [ class ion\Unserializer\Unserializer implements ion\Unserializer ] { - Constants [0] { } @@ -4123,8 +4259,7 @@ Extension [ extension #86 ion version 0.1.0 ] { - Static methods [0] { } - - Properties [4] { - Property [ public readonly ?ion\Reader\Options $readerOptions ] + - Properties [3] { Property [ public readonly bool $multiSequence ] Property [ public readonly bool $callMagicUnserialize ] Property [ public readonly ?string $callCustomUnserialize ] @@ -4133,11 +4268,10 @@ Extension [ extension #86 ion version 0.1.0 ] { - Methods [2] { Method [ public method __construct ] { - - Parameters [4] { - Parameter #0 [ ?ion\Reader\Options $readerOptions = null ] - Parameter #1 [ bool $multiSequence = false ] - Parameter #2 [ bool $callMagicUnserialize = true ] - Parameter #3 [ ?string $callCustomUnserialize = null ] + - Parameters [3] { + Parameter #0 [ bool $multiSequence = false ] + Parameter #1 [ bool $callMagicUnserialize = true ] + Parameter #2 [ ?string $callCustomUnserialize = null ] } } -- cgit