From cd0ef91b325e8a8915a88fbde3aed33ba966b642 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 4 Sep 2025 10:38:08 +0200 Subject: initial package obsoletes php-pecl-csv open https://gitlab.com/Girgias/csv-php-extension/-/issues/13 Version 0.4.4 reports as 0.5.0 open https://gitlab.com/Girgias/csv-php-extension/-/issues/12 Deprecation message with 8.5.0beta2 --- REFLECTION | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 REFLECTION (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..ce9e7e4 --- /dev/null +++ b/REFLECTION @@ -0,0 +1,98 @@ +Extension [ extension #74 csv version 0.4.4 ] { + + - Functions { + Function [ function Csv\array_to_row ] { + + - Parameters [4] { + Parameter #0 [ array $fields ] + Parameter #1 [ string $delimiter = ',' ] + Parameter #2 [ string $enclosure = '"' ] + Parameter #3 [ string $eolSequence = "\r\n" ] + } + - Return [ string ] + } + Function [ function Csv\row_to_array ] { + + - Parameters [4] { + Parameter #0 [ string $row ] + Parameter #1 [ string $delimiter = ',' ] + Parameter #2 [ string $enclosure = '"' ] + Parameter #3 [ string $eolSequence = "\r\n" ] + } + - Return [ array ] + } + Function [ function Csv\collection_to_buffer ] { + + - Parameters [4] { + Parameter #0 [ Traversable|array $collection ] + Parameter #1 [ string $delimiter = ',' ] + Parameter #2 [ string $enclosure = '"' ] + Parameter #3 [ string $eolSequence = "\r\n" ] + } + - Return [ string ] + } + Function [ function Csv\buffer_to_collection ] { + + - Parameters [4] { + Parameter #0 [ string $buffer ] + Parameter #1 [ string $delimiter = ',' ] + Parameter #2 [ string $enclosure = '"' ] + Parameter #3 [ string $eolSequence = "\r\n" ] + } + - Return [ array ] + } + Function [ function Csv\buffer_to_collection_lax ] { + + - Parameters [4] { + Parameter #0 [ string $buffer ] + Parameter #1 [ string $delimiter = ',' ] + Parameter #2 [ string $enclosure = '"' ] + Parameter #3 [ string $eolSequence = "\r\n" ] + } + - Return [ array ] + } + } + + - Classes [1] { + Class [ final class Csv\LazyLaxCollection implements IteratorAggregate, Traversable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ static public method createFromBuffer ] { + + - Parameters [4] { + Parameter #0 [ string $buffer ] + Parameter #1 [ string $delimiter = ',' ] + Parameter #2 [ string $enclosure = '"' ] + Parameter #3 [ string $eolSequence = "\r\n" ] + } + - Return [ Csv\LazyLaxCollection ] + } + } + + - Properties [0] { + } + + - Methods [2] { + Method [ private method __construct ] { + + - Parameters [0] { + } + } + + Method [ public method getIterator ] { + + - Parameters [0] { + } + - Return [ InternalIterator ] + } + } + } + } +} + -- cgit